共用方式為


SPWebApplication.Delete Method

Removes the Web application and some of the resources that it owns.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public Overrides Sub Delete
'Usage
Dim instance As SPWebApplication

instance.Delete()
public override void Delete()

See Also

Reference

SPWebApplication Class

SPWebApplication Members

Microsoft.SharePoint.Administration Namespace