Delete(Microsoft.SharePoint.Portal.Topology.PortalSite, Boolean) Method

The Delete method of the PortalSiteCollection class deletes the specified PortalSite object, the base site, and if deleteDatabases is true, the associated databases from the topology of a server farm.

Parameters

portalSite    The Microsoft.SharePoint.Portal.Topology.PortalSite object to delete.

deleteDatabases    A Boolean value that indicates whether to delete the databases associated with the portal site.

Requirements

Platforms: Microsoft Windows Server 2003

Security: Code Access Security