IAppointment Interface
Provides properties and methods for defining and manipulating appointments.

CLSID

CD000120-8B95-11D1-82DB-00C04FB1625D

Extends

IDispatch

Type Library

Microsoft CDO for Exchange 2000 Library

DLL Implemented In

CDOEX.DLL

Member Summary

The following table lists the properties of the IAppointment interface.

NameDescription
AllDayEventSpecifies TRUE or FALSE, depending on whether an event is scheduled for an entire day.
AttachmentsReturns the collection of attachments in a message. This property is read-only.
AttendeesReturns the IAttendees interface on the implementing object. This property is read-only.
BodyPartReturns the IBodyPart interface on the implementing object. This property is read-only.
BusyStatus

Specifies how an appointment appears in the free/busy view.

Note that when there is more than one appointment during an interval, the free/busy status returned is the highest status for that interval. The status values ranked from highest to lowest are OOF, Busy, Tentative, and Free.

For more information about using free/busy information, see Checking Free/Busy Status.

ConfigurationContains a Configuration object reference. This object defines the messaging configuration used by the Message object.
ContactContains a person's name as a contact for an appointment.
ContactURLContains a URL for accessing an alternative format of the contact information.
DataSourceReturns the IDataSource interface on the implementing object. This property is read-only.
DurationContains 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.

EndTimeContains the time an appointment ends.

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

ExceptionsReturns an IExceptions collection of exceptions for a recurring schedule of appointments. This property is read-only.
FieldsReturns a Microsoft® ActiveX® Data Objects (ADO) Fields interface on an ADO Fields collection object. The object contains the resource fields associated with a message. This property is read-only.
GEOLatitudeContains the geographical latitude of an appointment's location.
GEOLongitudeContains the geographical longitude of an appointment's location.
KeywordsContains keywords identifying an appointment.
LocationContains an appointment's meeting location.
LocationURLContains a URL for accessing an alternative format of the location information.
MeetingStatusContains the status of an appointment: Tentative, Confirmed, or Cancelled.
PriorityContains the appointment's priority status: Normal, Urgent, or Nonurgent.
RecurrencePatternsReturns an IRecurrencePatterns collection of recurring information for a recurring appointment. This property is read-only.
ReplyTimeReturns the time a recipient replied to a meeting request. This property is read-only.

This value is updated by Collaboration Data Objects (CDO) when the IAppointment::Accept, IAppointment::AcceptTentative, or IAppointment::Decline method is called. This value can be used to determine which response is the most recent if an attendee sends more than one response to a meeting request.

ResourcesContains a list of supportive resources for the appointment. The resources are represented as mailto URIs and are separated by commas — for example, "conf42@example.com, video1@example.com".
ResponseRequestedIndicates whether a response is requested for an appointment.
SensitivityContains the status for an appointment's sensitivity: Company-Confidential, Personal, or Private.
StartTimeContains the starting time for an appointment.
SubjectContains the topic for the appointment.
TextBodyContains the decoded text description of the appointment.
TransparentContains whether the appointment appears in the free/busy string returned by the GetFreeBusy Method of the Addressee object. If the value of the Transparent property is "Transparent," the appointment does not appear in the free/busy string.

For more information about using free/busy information, see Checking Free/Busy Status.

The following table lists the methods of the IAppointment interface.

NameDescription
AcceptPrepares and returns a CalendarMessage object for accepting a meeting request.
AcceptTentativePrepares and returns a CalendarMessage object for tentatively accepting a meeting request.
CancelPrepares and returns a CalendarMessage object for canceling a meeting. You can also remove specific attendees without canceling the entire meeting.
CreateRequestPrepares and returns a CalendarMessage object for sending a meeting request.
DeclinePrepares and returns a CalendarMessage object for declining a meeting request.
GetFirstInstanceReturns the first instance of a recurring appointment.
GetInterfaceReturns the specified dual interface on the object.
GetNextInstanceReturns the next instance of a recurring appointment based on the start and end times from the GetFirstInstance Method. Returns the first instance of a recurring appointment if not preceded by GetFirstInstance Method or another call to GetNextInstance.
GetRecurringMasterReturns the master recurring appointment for an exception or instance of the master appointment.
InviteThis method returns a calendar message used to forward the appointment to another recipient.
PublishReturns a calendar message for the appointment with the method value set to "Publish." Published appointments do not have attendees. To send the calendar message, you need to add recipients using the IMessage interface of the calendar message.
Page view tracker