Get a Specific Safe Data Provider


Scenario/Problem: You need to obtain a specific safe data provider reference.


Solution: Use the Get-SPVisioSafeDataProvider cmdlet.

The Get-SPVisioSafeDataProvider cmdlet can be used to retrieve a specific safe data provider using the VisioServiceApplication and data provider parameters, as shown in Listing 24.4.

Listing 24.4. Assigning a Variable to a Specific Data Provider


$dataProvider =
Get-SPVisioSafeDataProvider -VisioServiceApplication "Visio Graphics
Service" -DataProviderID "Custom DB" -DataProviderType 6


This cmdlet uses both the DataProviderID and the DataProviderType to identify the safe data provider. If one is excluded, no results are returned.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.147.67.166