SPWebApplication.GetDeletedSites Method

Gets a list of deleted sites using a default query.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

public SPDeletedSiteCollection GetDeletedSites()

Return Value

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

This method gets a list of deleted sites using an SPDeletedSiteQuery object with default property values.

Show: