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)

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