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

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