SPServiceInstance.Unprovision method
Stops the service instance on the server.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Overrides Sub Unprovision
'Usage
Dim instance As SPServiceInstance
instance.Unprovision()
public override void Unprovision()