Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Deletes the site collection from the server and removes the site collection users from Active Directory Domain Services (ADDS) if bDeleteADAccounts is true.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
<SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.PerSpec)> _
Public Sub Delete ( _
bDeleteADAccounts As Boolean _
)
'Usage
Dim instance As SPSite
Dim bDeleteADAccounts As Boolean
instance.Delete(bDeleteADAccounts)
[SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.PerSpec)]
public void Delete(
bool bDeleteADAccounts
)
Parameters
bDeleteADAccounts
Type: System.Booleantrue to remove the site collection users from ADDS; otherwise, false.