Unprovisions the service application on the local computer.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
- Type: Microsoft.SharePoint.Administration.SPServiceInstance
Represents a single instance of a service that runs on a server.
serviceInstance is a null reference (Nothing in Visual Basic).
This method removes the application from the local machine. The Service Application Framework Sample requires two methods to both provision and un-provision the service application and its instance. These methods will be called from the UI when an administrator creates or stop a service application instance.