共用方式為


SPSiteAdministration.Delete method (Boolean)

刪除網站集合與刪除此網站集合的 Active Directory 帳戶的選項。

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'宣告
Public Sub Delete ( _
    bDeleteADAccounts As Boolean _
)
'用途
Dim instance As SPSiteAdministration
Dim bDeleteADAccounts As Boolean

instance.Delete(bDeleteADAccounts)
public void Delete(
    bool bDeleteADAccounts
)

參數

  • bDeleteADAccounts
    Type: System.Boolean

    若要刪除的 Active Directory 帳戶 ; true否則,請false。

請參閱

參照

SPSiteAdministration class

SPSiteAdministration members

Delete overload

Microsoft.SharePoint.Administration namespace