SPWebApplication.GetDeletedSites method (SPDeletedSiteQuery)

Gets a list of deleted sites using the specified query.

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

public SPDeletedSiteCollection GetDeletedSites(
	SPDeletedSiteQuery query
)

Parameters

query
Type: Microsoft.SharePoint.Administration.SPDeletedSiteQuery

The query used to specify the deleted sites to retrieve.

Return value

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

This method gets a list of deleted sites using the query specified by the query parameter.

Show: