We are trying to list appointments for a given period for a given calendar.
For each of those appointments, if the appointment is recurring, we want to know the Id
of the master appointment.
The issue is that the following code:
ItemId masterId = Appointment.BindToRecurringMaster(
Service, appointment.Id, new PropertySet(BasePropertySet.IdOnly));
Is extremely slow, because it makes an EWS call for every recurring appointment.
Is there a faster way to get JUST the Id
of the recurring master appointment?
I was able to do a bit more research and according to Microsoft Documentation: "Note that recurring master calendar items aren't returned in a call to FindAppointments. If you want to retrieve recurring masters, or you want a more general approach to retrieving calendar items, you need to use ExchangeService.FindItems.
https://msdn.microsoft.com/en-us/library/office/dn643672(v=exchg.150).aspx
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With