There are two ways to get changes from Exchange using EWS: 1. Use SyncFolderItems to get a list of changed items 2. Use FindItem to get a list of changed items (filtered by modify time)
I just need to know new and modified items, not the deleted ones, so both of above can satisfy the functional need. The performance impact is more important for us. Based on my testing on a folder with 20000 items (200 are new items), both APIs take similar amount of time to complete.
This seems to be counter intuitive, I thought SyncFolderItems would be more efficient as it doesn't need to search against everything. My question is, from performance perspective, are they the same or there are other considerations? (I prefer to use FindItem if so since I don't need to store the sync state of each folder)
Thanks!