다음을 통해 공유


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)
Available in Sandboxed Solutions: No

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.Boolean

    true to delete the Active Directory accounts; otherwise, false.

See Also

Reference

SPSiteAdministration Class

SPSiteAdministration Members

Delete Overload

Microsoft.SharePoint.Administration Namespace