RecurrenceMaximumOccurrences Property

This is used to get or set the maximum number of occurrences that should be generated by the recurrence.

Definition

Namespace: EWSoftware.PDI
Assembly: EWSoftware.PDI (in EWSoftware.PDI.dll) Version: 2023.1.2.0
public int MaximumOccurrences { get; set; }

Property Value

Int32

Remarks

If set to never end or to end by a specific date using RecurUntil, this will return zero. A non-zero value indicates the maximum number of occurrences that will be calculated. If set to a non-zero value, RecurUntil will be ignored. If set to zero, RecurUntil is set to DateTime.MaximumDate and the recurrence never ends.

Exceptions

ArgumentOutOfRangeExceptionThis is thrown if the value is negative

See Also