Share via


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)

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