Share via


SPServiceApplication.BeginProvision Method

Begins provisioning 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 BeginProvision ( _
    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.BeginProvision(callback, _
    state)
public IAsyncResult BeginProvision(
    AsyncCallback callback,
    Object state
)

Parameters

  • callback
    Type: System.AsyncCallback

    The method to be called when the provisioning 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 provisioning operation.

See Also

Reference

SPServiceApplication Class

SPServiceApplication Members

Microsoft.SharePoint.Administration Namespace

WaitCallback

Other Resources

Using an AsyncCallback Delegate and State Object