SPDailySchedule.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)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Public Overrides Function NextOccurrence ( _
dt As DateTime _
) As DateTime
'Usage
Dim instance As SPDailySchedule
Dim dt As DateTime
Dim returnValue As DateTime
returnValue = instance.NextOccurrence(dt)
public override DateTime NextOccurrence(
DateTime dt
)
Parameters
dt
Type: System.DateTimeA System.DateTime structure that specifies the date and time.
Return Value
Type: System.DateTime
A System.DateTime value that represents the next occurrence.