Tuesday, February 27, 2007

Determine if an Outlook Appointment/Calendar Item has been DST Rebased.

The CDOs and CDONTS of Messaging Development - OUTBOX: How to tell if the DST Rebasing Tool has been run on a mailbox?

"The rebasing tool adds time zone information to appointments that it touches.  This time zone information is the same that Outlook 2007 (and patched versions of CDO 1.21) puts on appointments when it creates them.  These time zone structures are described here...

http://blogs.msdn.com/stephen_griffin/archive/2006/12/06/outlook-2007-timezone-structures.aspx

What that means is that we cannot discern between appointments that were touched by the rebasing tool and ones that were created or modified by “new” clients (Outlook 2007 or DST patched versions of CDO 1.21).  There isn’t any marking on the mailbox itself so what you would have to do is iterate through items in the calendar folder and look for these properties on calendar items.  If they exist on any appointment in the calendar then you know that the rebasing tool and/or “new” clients have been there.

..."

Oh yeah, I'm going to need this code snip in the near future...

No comments: