RecurrenceRecurUntil Property

When retrieved, this property can be used to determine the end date of a recurrence based on the current settings. When set, it makes the recurrence end after the specified date.

Definition

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

Property Value

DateTime

If no frequency has been set or it is set to never end, DateTime.MaxValue is returned. If set to end after a specific date, the specified ending date is returned. If set to end after a specific number of occurrences (see MaximumOccurrences), the end date is calculated and returned.

If set to a date, the recurrence will be set to end after the specified date and the MaximumOccurrences value will be set to zero. The value is expressed in local time.

Remarks

This is useful for obtaining an end date for storing a pattern in a database. The starting and ending dates can then be used in queries to retrieve recurrences that may generate dates within a given range.

See Also