SPDeletedSiteQuery Class
Represents information about deleted sites that is used to find the deleted sites.
Inheritance Hierarchy
System.Object
Microsoft.SharePoint.Administration.SPDeletedSiteQuery
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public NotInheritable Class SPDeletedSiteQuery
'Usage
Dim instance As SPDeletedSiteQuery
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public sealed class SPDeletedSiteQuery
Remarks
Set the class properties to specify the parameters for a query to find deleted site collections. For example, to find a site collection deleted between January 1, 2011 and February 1, 2011, set the From property to January 1, 2011, and the To property to February 1, 2011.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.