共用方式為


SPSite.Delete method

Include protected members
Include inherited members

Deletes the site collection from the server.

Overload list

  Name Description
Public method Delete() Deletes the site collection from the server.
Public method Delete(Boolean) Deletes the site collection from the server and removes the site collection users from Active Directory Domain Services (ADDS) if bDeleteADAccounts is true.
Public method Delete(Boolean, Boolean) 從伺服器刪除網站集合、 選擇性地移除網站集合使用者從現用目錄網域服務 (加入),並選擇性地使用計時器工作,然後逐漸刪除網站集合。

Top

請參閱

參照

SPSite class

SPSite members

Microsoft.SharePoint namespace