Platform SDK: CDO 1.2.1

Location Property (AppointmentItem Object)

The Location property returns or sets the location of this appointment. Read/write.

Syntax

objAppointment.Location

Data Type

String

Remarks

The Location property contains a string representing the specific location in which this appointment is scheduled, such as an office or conference room. It is typically set by the messaging user that creates the MeetingItem object from the appointment. The initiating messaging user is available through the Organizer property.

Calendar folders are not supported in the public folders store provided with Microsoft® Exchange, and AppointmentItem objects are stored as Message objects. An attempt to read or write Location in this case returns CdoE_NO_SUPPORT.

Changes you make to properties on an AppointmentItem object take effect when you call the Send or Update method.

The Location property corresponds to the MAPI property PR_OFFICE_LOCATION.