SyncFolderItems returns only the necessary information to restore a repeating series, but does not extend individual entries. If you need extended occurrences, you need to use the FindItems method.
However, even assuming that you can extend the repetition yourself, SyncFolderItems does not provide all the necessary information by itself.
SyncFolderItems will return a list of events with a Single or RecurringMaster AppointmentType. The RecurringMaster event contains the ModifiedOccurrences and DeletedOccurrences . Unfortunately, the elements in ModifiedOccurrences contain only the ItemId, not the element itself. It seems necessary to solve all exceptions separately in order to get the modified entry fields. From the documentation :
Each OccurrenceInfo object in the ModifiedOccurrences collection contains four properties: End , ItemId , OriginalStart, and Start . To access additional properties in an exception element, you must bind to the element using OccurrenceInfo.ItemId .
foreach (OccurrenceInfo item in recurringMasterItem.ModifiedOccurrences) { Appointment modifiedItem = Appointment.Bind(service, item.ItemId); Console.WriteLine("Subject: " + modifiedItem.Subject); }
In other words, with the data obtained from SyncFolderItem , you can expand the repetition, including time exceptions and deleted occurrences, but you will have to allow exceptions in other fields (i.e. summary, body, location, etc.) using additional calls .Bind() .
Marco source share