Share via


SPSite.Delete - Méthode (Boolean)

Deletes the site collection from the server and removes the site collection users from Active Directory Domain Services (ADDS) if bDeleteADAccounts is true.

Espace de noms :  Microsoft.SharePoint
Assembly :  Microsoft.SharePoint (dans Microsoft.SharePoint.dll)

Syntaxe

'Déclaration
Public Sub Delete ( _
    bDeleteADAccounts As Boolean _
)
'Utilisation
Dim instance As SPSite
Dim bDeleteADAccounts As Boolean

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

Paramètres

  • bDeleteADAccounts
    Type : System.Boolean

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

Voir aussi

Référence

SPSite classe

SPSite - Membres

Delete - Surcharge

Microsoft.SharePoint - Espace de noms