Share via


SPDeletedSiteQuery.To property

Gets or sets the date and time before which the site collection was deleted.

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

Syntax

'Declaration
Public Property To As DateTime
    Get
    Set
'Usage
Dim instance As SPDeletedSiteQuery
Dim value As DateTime

value = instance.To

instance.To = value
public DateTime To { get; set; }

Property value

Type: System.DateTime
The date and time before which the site collection was deleted.

Remarks

The default value is MaxValue.

See also

Reference

SPDeletedSiteQuery class

SPDeletedSiteQuery members

Microsoft.SharePoint.Administration namespace