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
id
Type: System.GuidThe ID of the site to retrieve.
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.