共用方式為


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)
Available in Sandboxed Solutions: No

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