다음을 통해 공유


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

Syntax

'Declaration
Public Function GetDeletedSites ( _
    sitePath As String _
) As SPDeletedSiteCollection
'Usage
Dim instance As SPWebApplication
Dim sitePath As String
Dim returnValue As SPDeletedSiteCollection

returnValue = instance.GetDeletedSites(sitePath)
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.

Remarks

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.

See Also

Reference

SPWebApplication Class

SPWebApplication Members

GetDeletedSites Overload

Microsoft.SharePoint.Administration Namespace