SPWebApplication.GetDeletedSites method (Guid)

Gets a list of deleted sites with the specified site collection identifier (ID).

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

public SPDeletedSiteCollection GetDeletedSites(
	Guid siteId


Type: System.Guid

The ID of the list of sites.

Return value

Type: Microsoft.SharePoint.Administration.SPDeletedSiteCollection
The list of deleted sites.

This method gets a list of deleted sites with the site collection ID specified by the siteId parameter.