Delete() Method
The Delete method of the SPSite class deletes the site collection from the server.
Example
The following code example illustrates how to use the Delete method.
Requirements
Platforms: Microsoft Windows Server 2003
Security: Code Access Security