共用方式為


SPWebApplication.Provision Method

Provisions the application on the local server, including content databases if necessary.

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 SPWebApplication

instance.Provision()
public override void Provision()

See Also

Reference

SPWebApplication Class

SPWebApplication Members

Microsoft.SharePoint.Administration Namespace