SPSiteAdministration.Delete method (Boolean)
Deletes the site collection with the option of deleting the Active Directory accounts for this site collection.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Sub Delete ( _
bDeleteADAccounts As Boolean _
)
'Usage
Dim instance As SPSiteAdministration
Dim bDeleteADAccounts As Boolean
instance.Delete(bDeleteADAccounts)
public void Delete(
bool bDeleteADAccounts
)
Parameters
bDeleteADAccounts
Type: System.Booleantrue to delete the Active Directory accounts; otherwise, false.