SPWebApplication.GetDeletedSites Method (String)

Gets a list of deleted sites with the specified prefix of a server-relative URL.

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

public SPDeletedSiteCollection GetDeletedSites(
	string sitePath
)

Parameters

sitePath
Type: System.String

The prefix of a server-relative URL of the deleted sites.

Return Value

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

This method gets a list of deleted sites with the prefix of a server-relative URL of the site collection specified by the sitePath parameter.

Show: