Reputation: 17
I'm working on calendar sync for two accounts. But when I do this, US Holiday and Birthday Events are duplicating. How to restrict this duplication using the EWS filter?
Upvotes: 0
Views: 133
Reputation: 22032
You can filter out Birthday calendars by excluding any calendars with a FolderClass of "IPF.Appointment.Birthday". With Holiday calendars the PidTagExtendedFolderFlags property is used to mark the Folder a ReadOnly see Able to write events to read-only calendar via API so you should be able to use that to exclude any of those calendars.
Upvotes: 2