SPContentDatabase.GetDeletedSite method

Gets the deleted site with a specified site ID.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

public SPDeletedSite GetDeletedSite(
	Guid id


Type: System.Guid

The ID of the site to retrieve.

Return value

Type: Microsoft.SharePoint.Administration.SPDeletedSite
The deleted site with the specified site ID.

This method returns the deleted site with the site ID specified by the id parameter contained in this content database.