SPServiceApplication.Unprovision Method (Boolean)
Unprovisions the service application and optionally deletes data associated with the application.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Public Overridable Sub Unprovision ( _
deleteData As Boolean _
)
'Usage
Dim instance As SPServiceApplication
Dim deleteData As Boolean
instance.Unprovision(deleteData)
public virtual void Unprovision(
bool deleteData
)
Parameters
deleteData
Type: System.Booleantrue if any user data associated with the service application should be deleted; otherwise, false.