Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Outlook / Interop / September 2004

Tip: Looking for answers? Try searching our database.

EntryID unique?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Andreas Schachl - 09 Sep 2004 13:51 GMT
Hello!

Ive got a question concerning the EntryID of an object:

Is every EntryID unique and wont be used even if the object was deleted?

For example:
object a - entryid 1
object a is deleted
object b is created and gets entryid 1

So is every EntryID unique for any time?

Furthermore I wonder if there is a difference between using EntryIDs
with Outlook alone or in connection with Exchange Server?

Thanks in advance!

Andreas
Ken Slovak - [MVP - Outlook] - 09 Sep 2004 15:11 GMT
Yes, it should be unique. EntryID's will change in an Exchange mailbox if
the item is moved or deleted. They don't change in a PST file. That's
transport dependent. Exchange also provides short-term and long-term
EntryID's, for a PST file you only get a long-term EntryID. So when using a
MAPI table for example you would check for both EntryID's to make sure you
get a valid result.

Signature

Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm

> Hello!
>
[quoted text clipped - 15 lines]
>
> Andreas
Andreas Schachl - 09 Sep 2004 15:47 GMT
> Yes, it should be unique. EntryID's will change in an Exchange mailbox if
> the item is moved or deleted. They don't change in a PST file. That's
> transport dependent. Exchange also provides short-term and long-term
> EntryID's, for a PST file you only get a long-term EntryID. So when using a
> MAPI table for example you would check for both EntryID's to make sure you
> get a valid result.

Thanks!

Does this mean that there is no way to "track" an item from another
application using its EntryID since if it is moved or deleted I wont
find it under its EntryID?

Thanks in advance!
Ken Slovak - [MVP - Outlook] - 09 Sep 2004 16:14 GMT
Correct. I usually store the original entry id in a user defined field and
check on that so if EntryID changes my field remains the same.

Signature

Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm

> > Yes, it should be unique. EntryID's will change in an Exchange mailbox if
> > the item is moved or deleted. They don't change in a PST file. That's
[quoted text clipped - 10 lines]
>
> Thanks in advance!
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.