Microsoft KB Archive/320500

= OL: The &quot;MeetingStatus&quot; Value of Canceled Appointments =

Article ID: 320500

Article Last Modified on 3/4/2004

-

APPLIES TO


 * Microsoft Outlook 2000 Standard Edition
 * Microsoft Outlook 2002 Standard Edition

-



This article was previously published under Q320500



SUMMARY
Appointment items become meeting items when attendees are invited to attend the appointment. The MeetingStatus property of the appointment item gives information about the status of the meeting and other general information, such as whether or not you are an invited attendee or the meeting organizer.



MORE INFORMATION
The MeetingStatus property values are computed based on the following binary table. The MeetingStatus property value of a canceled meetings is computed by a binary OR operation of the binary values. Decimal  Binary    Mnemonic Value   Details ---  0       0000     Non Meeting      *Appointment item without attendees and does not represent a meeting. 1      0001     Meeting          *A scheduled meeting has been created. 2      0010     Received         *The meeting has been received from the meeting organizer. 4      0100     Canceled         *The scheduled meeting has been canceled. 8      1000     Forward          *The meeting has been sent from one of the attendees.

The MeetingStatus property value of a canceled meeting that belongs to an attendee sent from the organizer returns a 7. The following binary operation shows how the MeetingStatus property value is computed for this scenario. 0001 0010 0100

0111 binary 7 decimal The MeetingStatus property value of a canceled meeting that belongs to the organizer returns a 5. The following binary operation shows how the MeetingStatus property value is computed for this scenario. 0001 0100

0101 binary 5 decimal When an AppointmentItem object is first created, the MeetingStatus property is set to olNonMeeting or 0. The appointment item becomes a meeting when you invite attendees and send a meeting request to one or more recipients. This creates a MeetingItem object with a MeetingStatus property value of olMeeting or 1 and identifies you as the organizer.

When an attendee receives the MeetingItem object, the MeetingStatus property is updated to a value of olMeetingReceived or 3. This is the result of an OR operation of Meeting and Received.

When the meeting organizer cancels a meeting, the MeetingStatus property is set if the MeetingItem object belongs to the organizer or an attendee. If the MeetingItem object belongs to the meeting organizer, the value of the MeetingStatus property is set to the OR operation of Meeting and Canceled, which results in a value of olMeetingCanceled or 5. If the MeetingItem object belongs to an attendee, then the value of the MeetingStatus property is set to the OR operation of Meeting, Received, and Canceled, which results in 7. This value does not have a Microsoft Outlook constant.

