/** * Binds to an existing appointment and loads its first class property. * Calling this method results in a call to EWS. * * @param service the service * @param recurringMasterId the recurring master id * @param occurenceIndex the occurence index * @return An Appointment instance representing the appointment * corresponding to the specified Id. * @throws Exception the exception */ public static Appointment bindToOccurrence(ExchangeService service, ItemId recurringMasterId, int occurenceIndex) throws Exception { return Appointment.bindToOccurrence(service, recurringMasterId, occurenceIndex, PropertySet.FirstClassProperties); }
/** * Binds to an existing appointment and loads its first class property. * Calling this method results in a call to EWS. * * @param service the service * @param recurringMasterId the recurring master id * @param occurenceIndex the occurence index * @return An Appointment instance representing the appointment * corresponding to the specified Id. * @throws Exception the exception */ public static Appointment bindToOccurrence(ExchangeService service, ItemId recurringMasterId, int occurenceIndex) throws Exception { return Appointment.bindToOccurrence(service, recurringMasterId, occurenceIndex, PropertySet.FirstClassProperties); }