Condividi tramite


SPServiceApplication.Provision Method

Initializes the resources of the service application and sets the service application status to Online.

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

Syntax

'Declaration
Public Overrides Sub Provision
'Usage
Dim instance As SPServiceApplication

instance.Provision()
public override void Provision()

Exceptions

Exception Condition
InvalidOperationException

This service application has not been initialized. Initialize the service application before calling this method.

See Also

Reference

SPServiceApplication Class

SPServiceApplication Members

Microsoft.SharePoint.Administration Namespace