Share via


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)

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