The information in this article applies to:
SUMMARY
If you keep records of messages on an external database for backup purposes, you might need to operate on these records when the original message is deleted from the Exchange Server. For example, in such a case, you might want to delete the corresponding records as well. To do this, you need to relate the deleted message with the record of it. This article suggests a way to do this. MORE INFORMATION
To be able to reach the record on the external database after the original message is deleted from the Exchange store, you can create a field on the record (as the database record's primary key) and keep the PR_SOURCE_KEY property of the original message on this field. Then, you can use the MessageID returned from the Folder_OnMessageDeleted event to track down the record. The MessageID can be obtained using the MessageID property of the EventDetails object in Folder_OnMessageDeleted event. REFERENCES
For more information about the PR_SOURCE_KEY property, please refer to the Microsoft Developer Network. Additional query words: kbCDO120 kbCDO121 kbMsg kbXchge550 kbGrpMsg
Keywords : kbCDO120 kbCDO121 kbXchge550 kbMsg kbfaq kbGrpMsg |
Last Reviewed: December 3, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |