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