Share via


EndType Property

EndType Property

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

Specifies how a recurring pattern ends.

Applies To

IRecurrencePattern Interface

Type Library

Microsoft CDO for Exchange 2000 Library

DLL Implemented In

CDOEX.DLL

Syntax

[Visual Basic]Property EndType As CdoPatternEndType

[C++]HRESULT get_EndType(CdoPatternEndTypepVal);
HRESULT put_EndType(CdoPatternEndType Val);

Parameters

Remarks

The CdoPatternEndType Enum is used to set this property and is as follows:

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.

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.

Send us your feedback about the Microsoft Exchange Server 2003 SDK.

Build: June 2007 (2007.618.1)

© 2003-2006 Microsoft Corporation. All rights reserved. Terms of use.