Share via


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)

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.Boolean

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

See also

Reference

SPServiceApplication class

SPServiceApplication members

Unprovision overload

Microsoft.SharePoint.Administration namespace