Partilhar via


SPIisWebServiceApplication.ProvisionLocal Method

Provisions the service application on the local computer.

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

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