CdoPatternEndType Enum

Topic Last Modified: 2006-06-13

The CdoPatternEndType enumeration is used to set the values of the EndType Property of the IRecurrencePattern interface. It specifies how a recurring meeting pattern ends.

You must first specify the number of instances for the pattern using the IRecurrencePattern.Instances property, if you plan to set the EndType property to cdoEndByInstances. If you do not specify the number of instances first, Collaboration Data Objects (CDO) raises an error.

You must first specify the recurrence end date using the IRecurrencePattern.PatternEndDate property, if you plan to set the EndType property to cdoEndByDate. If you do not specify this date first, CDO raises an error.

Type Library

Microsoft CDO for Exchange 2000 Library

DLL Implemented In

CDOEX.DLL

Values

Name Value Description

cdoNoEndDate

0

The pattern never ends.

cdoEndByInstances

1

The pattern ends after a specified number of instances.

cdoEndByDate

2

The pattern ends after a specified date and time.