NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

RecurrencePatterns.GetTimeOfNextOccurrence

Returns the next time to raise the event.

[Visual Basic]
Public Function GetTimeOfNextOccurrence( _
   ByVal baseDate As DateTime _
) As DateTime
[C#]
public DateTime GetTimeOfNextOccurrence(
   DateTime baseDate
);
[C++]
public: DateTime GetTimeOfNextOccurrence(
   DateTime baseDate
);
[JScript]
public function GetTimeOfNextOccurrence(
   baseDate : DateTime
) : DateTime;

Parameters

baseDate
The DateTime reference after which the next valid date and time should be calculated.

Return Value

The DateTime of the next valid scheduled time to raise the event.

See Also

RecurrencePatterns Class | RecurrencePatterns Members | System.Timers Namespace | DateTime