locked
How to Search Changed Calendar Entries? RRS feed

  • Question

  • Hi,

    Is there a way to query outlook Calendar that would return all entries changed/added/deleted  from a last given date?

    Regards
    Jiya

     

    Wednesday, February 23, 2011 3:37 AM

Answers

  • Sure, somethig like the following should do the job:

    set ModifiedItems = Folder.Items.Restrict("[LastModificationTime] > '1/1/2011' ")

    This won't give you deleted items, you would need to go over all itemns t ofigure out if anythig nwas deleted.

    Or, in case of an Exchange mailbox, use ICS (Incremental Change Synchronization) API (MAPI in C++/Delphi or any language using Redemption).

     

     


    Dmitry Streblechenko (MVP)
    http://www.dimastr.com/redemption
    Redemption - what the Outlook
    Object Model should have been
    Wednesday, February 23, 2011 5:28 AM