MeetingStatus Property

Applies To

AppointmentItem object.

Description

Returns or sets the meeting status of the appointment. Use this property to make a MeetingRequestItem object available for the appointment. Can be one of the following OlMeetingStatus constants: olMeeting, olMeetingCanceled, olMeetingReceived, or olNonMeeting. Read/write Long.

Example

This example creates an appointment and sets the meeting status to "Meeting" to turn it into a meeting request with both a required and an optional attendee.

Set myItem = myOlApp.CreateItem(olAppointmentItem)
Set myItem.MeetingStatus = olMeeting
myItem.Subject = "Strategy Meeting"
myItem.Location = "Conference Room B"
myItem.Start = #9/24/97 1:30:00 PM#
myItem.Duration = 90
Set myRequiredAttendee = myItem.Recipients.Add("Nate Sun")
myRequiredAttendee.Type = olRequired
Set myOptionalAttendee = myItem.Recipients.Add("Kevin Kennedy")
myOptionalAttendee.Type = olOptional
Set myResourceAttendee = _
    myItem.Recipients.Add("Conference Room B")
myResourceAttendee.Type = olResource
myItem.Send