Share via


SPOneTimeSchedule constructor (DateTime)

Initializes a new instance of the SPOneTimeSchedule class based on the specified DateTime value.

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

Syntax

'Declaration
Public Sub New ( _
    dt As DateTime _
)
'Usage
Dim dt As DateTime

Dim instance As New SPOneTimeSchedule(dt)
public SPOneTimeSchedule(
    DateTime dt
)

Parameters

  • dt
    Type: System.DateTime

    A System.DateTime structure that specifies the starting and ending times for the schedule.

See also

Reference

SPOneTimeSchedule class

SPOneTimeSchedule members

SPOneTimeSchedule overload

Microsoft.SharePoint namespace