SPContentDatabase.GetDeletedSite Method

Gets the deleted site with a specified site ID.

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

Syntax

'Declaration
Public Function GetDeletedSite ( _
    id As Guid _
) As SPDeletedSite
'Usage
Dim instance As SPContentDatabase
Dim id As Guid
Dim returnValue As SPDeletedSite

returnValue = instance.GetDeletedSite(id)
public SPDeletedSite GetDeletedSite(
    Guid id
)

Parameters

Return Value

Type: Microsoft.SharePoint.Administration.SPDeletedSite
The deleted site with the specified site ID.

Remarks

This method returns the deleted site with the site ID specified by the id parameter contained in this content database.

See Also

Reference

SPContentDatabase Class

SPContentDatabase Members

Microsoft.SharePoint.Administration Namespace