SPWebApplication.GetDeletedSites method

Gets a list of deleted sites using a default query.

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

Syntax

'Declaration
Public Function GetDeletedSites As SPDeletedSiteCollection
'Usage
Dim instance As SPWebApplication
Dim returnValue As SPDeletedSiteCollection

returnValue = instance.GetDeletedSites()
public SPDeletedSiteCollection GetDeletedSites()

Return value

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

Remarks

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

See also

Reference

SPWebApplication class

SPWebApplication members

GetDeletedSites overload

Microsoft.SharePoint.Administration namespace