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.AddDailyPattern (Int32)

Adds a DailyPattern, given the daily execution interval.

[Visual Basic]
Overloads Public Function AddDailyPattern( _
   ByVal everyNthDay As Integer _
) As DailyPattern
[C#]
public DailyPattern AddDailyPattern(
   int everyNthDay
);
[C++]
public: DailyPattern* AddDailyPattern(
   int everyNthDay
);
[JScript]
public function AddDailyPattern(
   everyNthDay : int
) : DailyPattern;

Parameters

everyNthDay
The daily execution interval for the recurrence pattern.

Return Value

The DailyPattern.

Exceptions

Exception Type Condition
ArgumentException The everyNthDay parameter value is less than or equal to 0.

Remarks

When a pattern is added, the next scheduled time is automatically recalculated.

When the name of the pattern is not specified, the name becomes the type of pattern with a unique number appended. For example, "DailyPattern3". The properties of the pattern that are not set through parameters are set to the pattern type's default values.

See Also

RecurrencePatterns Class | RecurrencePatterns Members | System.Timers Namespace | RecurrencePatterns.AddDailyPattern Overload List | DailyPattern