Delete(Boolean) Method

The Delete method of the SPSite class deletes the site collection from the server and removes the site collection users from the Active Directory directory service if bDeleteADAccounts is true.

Parameters

bDeleteADAccounts  true to remove the site collection users from the Active Directory directory service; otherwise, false.

Requirements

Platforms: Microsoft Windows Server 2003

Security: Code Access Security