SPOneTimeSchedule.NextOccurrence method

Returns the next occurrence of the schedule based on the specified date and time.

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

Syntax

'Declaration
Public Overrides Function NextOccurrence ( _
    dt As DateTime _
) As DateTime
'Usage
Dim instance As SPOneTimeSchedule
Dim dt As DateTime
Dim returnValue As DateTime

returnValue = instance.NextOccurrence(dt)
public override DateTime NextOccurrence(
    DateTime dt
)

Parameters

  • dt
    Type: System.DateTime

    A System.DateTime structure that specifies the date and time.

Return value

Type: System.DateTime
A System.DateTime value that represents the next occurrence.

See also

Reference

SPOneTimeSchedule class

SPOneTimeSchedule members

Microsoft.SharePoint namespace