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)

public virtual void Unprovision(
	bool deleteData
)

Parameters

deleteData
Type: System.Boolean

true if any user data associated with the service application should be deleted; otherwise, false.

Show: