GetOccurrence Method

See Also         Example         Applies To

The GetOccurrence method returns a specific instance of the AppointmentItem object on the specified date.

Note The GetOccurrence method generates an error if no appointment of that series exists on the specified date.

Syntax

Set objAppointmentItem = objRecurrencePattern.GetOccurrence(Date_Time)

objAppointmentItem   Required. An AppointmentItem object.

objRecurrencePattern   Required. A RecurrencePattern object.

Date_Time   Required Date that represents local time.