/// <summary> /// Binds to the master appointment of a recurring series and loads the specified set of properties. /// Calling this method results in a call to EWS. /// </summary> /// <param name="service">The service to use to bind to the appointment.</param> /// <param name="occurrenceId">The Id of one of the occurrences in the series.</param> /// <param name="propertySet">The set of properties to load.</param> /// <returns>An Appointment instance representing the master appointment of the recurring series to which the specified occurrence belongs.</returns> public static Task <Appointment> BindToRecurringMaster( ExchangeService service, ItemId occurrenceId, PropertySet propertySet) { RecurringAppointmentMasterId recurringMasterId = new RecurringAppointmentMasterId(occurrenceId.UniqueId); return(Appointment.Bind( service, recurringMasterId, propertySet)); }
/// <summary> /// Binds to the master appointment of a recurring series and loads the specified set of properties. /// Calling this method results in a call to EWS. /// </summary> /// <param name="service">The service to use to bind to the appointment.</param> /// <param name="occurrenceId">The Id of one of the occurrences in the series.</param> /// <param name="propertySet">The set of properties to load.</param> /// <returns>An Appointment instance representing the master appointment of the recurring series to which the specified occurrence belongs.</returns> public static Appointment BindToRecurringMaster( ExchangeService service, ItemId occurrenceId, PropertySet propertySet) { RecurringAppointmentMasterId recurringMasterId = new RecurringAppointmentMasterId(occurrenceId.UniqueId); return Appointment.Bind( service, recurringMasterId, propertySet); }