다음을 통해 공유


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

Syntax

'Declaration
Public Function GetDeletedSites ( _
    query As SPDeletedSiteQuery _
) As SPDeletedSiteCollection
'Usage
Dim instance As SPWebApplication
Dim query As SPDeletedSiteQuery
Dim returnValue As SPDeletedSiteCollection

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

Parameters

Return Value

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

Remarks

This method gets a list of deleted sites using the query specified by the query parameter.

See Also

Reference

SPWebApplication Class

SPWebApplication Members

GetDeletedSites Overload

Microsoft.SharePoint.Administration Namespace