Share via


SPSite.Delete-Methode (Boolean)

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)

Syntax

'Declaration
Public Sub Delete ( _
    bDeleteADAccounts As Boolean _
)
'Usage
Dim instance As SPSite
Dim bDeleteADAccounts As Boolean

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

Parameter

  • bDeleteADAccounts
    Typ: System.Boolean

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

Siehe auch

Referenz

SPSite Klasse

SPSite-Member

Delete-Überladung

Microsoft.SharePoint-Namespace