Share via


SPOneTimeSchedule.Time property

Gets or sets the starting and ending times for the schedule.

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

Syntax

'Declaration
Public Property Time As DateTime
    Get
    Set
'Usage
Dim instance As SPOneTimeSchedule
Dim value As DateTime

value = instance.Time

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

Property value

Type: System.DateTime
A System.DateTime structure that specifies the starting and ending times.

Remarks

The Year property of the DateTime structure should not specify a year prior to 1900.

See also

Reference

SPOneTimeSchedule class

SPOneTimeSchedule members

Microsoft.SharePoint namespace