SPMonthlyByDaySchedule.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 SPMonthlyByDaySchedule
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 DateTime that represents the next occurrence of the schedule..

See also

Reference

SPMonthlyByDaySchedule class

SPMonthlyByDaySchedule members

Microsoft.SharePoint namespace