Remove a Safe Data Provider

Scenario/Problem: You need to remove a safe data provider from Visio Graphics Services.

Solution: Use the Remove-SPVisioSafeDataProvider cmdlet.

The Remove-SPVisioSafeDataProvider cmdlet enables you to remove a specific safe data provider from Visio Graphics Services. This cmdlet uses both the DataProviderID and the DataProviderType to identify the safe data provider, as shown in Listing 24.5.

Listing 24.5. Example Script for Removing a Safe Data Provider

Remove-SPVisioSafeDataProvider -VisioServiceApplication "VisioGraphics Service" -DataProviderID "Custom DB" -DataProviderType 6

Get PowerShell™ for SharePoint® 2013 How-To now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.