Share via


SPWebServiceInstance.Provision Method

Creates all of the IIS Web sites, virtual directories, and application pools that are necessary for the Web service to function on the server.

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 SPWebServiceInstance

instance.Provision()
public override void Provision()

Remarks

This method also calls the Provision method on all child objects of the SPWebApplication object for the SPWebService object that is associated with this SPWebServiceInstance object.

See Also

Reference

SPWebServiceInstance Class

SPWebServiceInstance Members

Microsoft.SharePoint.Administration Namespace