Export (0) Print
Expand All

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)
Available in Sandboxed Solutions: No

public SPDeletedSiteCollection GetDeletedSites(
	SPDeletedSiteQuery 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.

© 2015 Microsoft