Duration Property

Topic Last Modified: 2006-06-13

Contains the duration of an appointment in seconds.

Either a Duration or an EndTime Property is required. Duration must be greater than or equal to zero if specified. If EndTime is specified, Duration is ignored.

Applies To

IAppointment Interface

Type Library

Microsoft CDO for Exchange 2000 Library

DLL Implemented In

CDOEX.DLL

Syntax

Property Duration As Long
HRESULT get_Duration(long* pVal);HRESULT put_Duration(long Val);

Parameters

  • pVal
    Returns the value of the Duration property as a reference to a long.
  • Val
    Sets the value of the Duration property to the value of the long.

Remarks

This property is also available as the duration Field in the Exchange store schema.