共用方式為


SPSiteCollection.Delete Method

Include Protected Members
Include Inherited Members

Deletes the specified SPSite object from the collection.

Overload List

  Name Description
Public method Delete(String) Deletes the specified SPSite object from the collection.
Public method Delete(String, Boolean) Deletes the specified SPSite object from the collection with the option of deleting Active Directory Domain Services accounts that were created for this site collection.
Public method Delete(String, Boolean, Boolean)

Top

See Also

Reference

SPSiteCollection Class

SPSiteCollection Members

Microsoft.SharePoint.Administration Namespace