PatternEndDate Property

See Also         Example         Applies To

Returns or sets the end date for the recurrence pattern.

Read/write Date.

Syntax

objRecurrencePattern.PatternEndDate

objRecurrencePattern    Required. An expression that returns a RecurrencePattern object.

Example:

Set myRecPatt = myApptItem.GetRecurrencePattern
myRecPatt.PatternEndDate = #9/13/98#

Remarks

This property is optional but must be coordinated with other properties when setting up a recurrence pattern. If this property or the Occurrences property is set, the pattern is considered to be finite, and the NoEndDate property is False. If neither PatternEndDate nor Occurrences is set, the pattern is considered infinite and NoEndDate is True. The Interval property must be set before setting PatternEndDate.