Partilhar 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)
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.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