RecurrenceMaximum Occurrences 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: 2025.1.9.0
Assembly: EWSoftware.PDI (in EWSoftware.PDI.dll) Version: 2025.1.9.0
C#
public int MaximumOccurrences { get; set; }VB
Public Property MaximumOccurrences As Integer
Get
SetC++
public:
property int MaximumOccurrences {
int get ();
void set (int value);
}F#
member MaximumOccurrences : int with get, setProperty Value
Int32Remarks
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
| ArgumentOutOfRangeException | This is thrown if the value is negative |