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
serviceInstance
Type: Microsoft.SharePoint.Administration.SPServiceInstanceRepresents a single instance of a service that runs on a server.
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