SPSite.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.

命名空间:  Microsoft.SharePoint
程序集:  Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)

语法

声明
Public Sub Delete ( _
    bDeleteADAccounts As Boolean _
)
用法
Dim instance As SPSite
Dim bDeleteADAccounts As Boolean

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

参数

  • bDeleteADAccounts
    类型:System.Boolean

    true to remove the site collection users from ADDS; otherwise, false.

另请参阅

引用

SPSite 类

SPSite 成员

Delete 重载

Microsoft.SharePoint 命名空间