共用方式為


SPServiceApplication.BeginUnprovision Method

Begins unprovisioning the service application by specifying a callback delegate and an object to receive state information.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public Function BeginUnprovision ( _
    callback As AsyncCallback, _
    state As Object _
) As IAsyncResult
'Usage
Dim instance As SPServiceApplication
Dim callback As AsyncCallback
Dim state As Object
Dim returnValue As IAsyncResult

returnValue = instance.BeginUnprovision(callback, _
    state)
public IAsyncResult BeginUnprovision(
    AsyncCallback callback,
    Object state
)

Parameters

  • callback
    Type: System.AsyncCallback

    The method to be called when the unprovisioning operation completes.

  • state
    Type: System.Object

    An object containing information to be used by the callback method.

Return Value

Type: System.IAsyncResult
The status of the unprovisioning operation.

See Also

Reference

SPServiceApplication Class

SPServiceApplication Members

Microsoft.SharePoint.Administration Namespace