Share via


SPIisWebServiceApplication.ProvisionLocal method

Provisions the service application on the local computer.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Protected Overrides Sub ProvisionLocal ( _
    serviceInstance As SPServiceInstance _
)
'Usage
Dim serviceInstance As SPServiceInstance

Me.ProvisionLocal(serviceInstance)
protected override void ProvisionLocal(
    SPServiceInstance serviceInstance
)

Parameters

Exceptions

Exception Condition
ArgumentNullException

serviceInstance is a null reference (Nothing in Visual Basic).

InvalidOperationException

serviceInstance is not an instance of an SPIisWebServiceInstance object.

See also

Reference

SPIisWebServiceApplication class

SPIisWebServiceApplication members

Microsoft.SharePoint.Administration namespace