SPDeletedSiteQuery class

Represents information about deleted sites that is used to find the deleted sites.


Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public NotInheritable Class SPDeletedSiteQuery
Dim instance As SPDeletedSiteQuery

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.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.