共用方式為


SPSiteAdministration.Delete Method

Deletes the site collection.

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

Syntax

'Declaration
Public Sub Delete
'Usage
Dim instance As SPSiteAdministration

instance.Delete()
public void Delete()

See Also

Reference

SPSiteAdministration Class

SPSiteAdministration Members

Delete Overload

Microsoft.SharePoint.Administration Namespace