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.Booleantrue to remove the site collection users from ADDS; otherwise, false.