共用方式為


SPIisWebSite.Provision Method

Creates an Internet Information Services (IIS) Web site

Namespace:  Microsoft.SharePoint.AdministrationOperation
Assembly:  Microsoft.SharePoint.AdministrationOperation (in Microsoft.SharePoint.AdministrationOperation.dll)

Syntax

'Declaration
Public Overrides Sub Provision
'Usage
Dim instance As SPIisWebSite

instance.Provision()
public override void Provision()

Remarks

This method ensures that the server allocates resources that are associated with the SPIisWebSite object. It creates an instance of an SPIisWebSite object on a computer defined as a SharePoint Foundation farm server. It also configures the IIS configuration store settings for Active Directory Domain Services, the application root path, and server and network resources. Authentication settings can be modified and propagated by deleting and recreating the Web application.

See Also

Reference

SPIisWebSite Class

SPIisWebSite Members

Microsoft.SharePoint.AdministrationOperation Namespace