SPIisWebServiceApplication.Provision Method
Provisions the web service application in the server farm.
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 SPIisWebServiceApplication
instance.Provision()
public override void Provision()
Remarks
The Service Application Framework Calculator Service Sampleneeds two methods to both provision and un-provision the service application and its instance. These methods will be called from the UI when an administrator creates or stop a service application instance. Refer to Provisioning Service Applications for more information.
public override void Provision()
{
m_Database.Provision();
base.Provision();
}
public override void Unprovision(
bool deleteData)
{
base.Unprovision(deleteData);
m_Database.Unprovision();
}
Public Overrides Sub Provision()
m_Database.Provision()
MyBase.Provision()
End Sub
Public Overrides Sub Unprovision(ByVal deleteData As Boolean)
MyBase.Unprovision(deleteData)
m_Database.Unprovision()
End Sub
See Also
Reference
SPIisWebServiceApplication Class