Skip to Content
Inside Microsoft® Exchange Server 2007 Web Services
book

Inside Microsoft® Exchange Server 2007 Web Services

by David Sterling, Michael Mainer, Ben Spain, Mark Taylor, Huw Upshall
November 2007
Intermediate to advanced
928 pages
26h 9m
English
Microsoft Press
Content preview from Inside Microsoft® Exchange Server 2007 Web Services

Attachment Hierarchies

As a parting example, the following code follows or walks the attachment hierarchy of an item and displays it in the console window. If items could have only file attachments, there would be no concept of an attachment hierarchy. But because items can have item attachments, and those item attachments can have their own attachments, a nesting or hierarchy of attachments can indeed be realized. What is important to note is that each attachment has its own attachment id, and if you have the attachment id, you can retrieve any attachment regardless of how deep within an attachment hierarchy it is. Example 12-28 shows us how to walk the attachment hierarchy for any given item.

Example 12-28. Walking attachment hierarchies

/// <summary> ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Microsoft® Exchange Server 2007 Administrator’s Companion, Second Edition

Microsoft® Exchange Server 2007 Administrator’s Companion, Second Edition

Scott Lowe Walter Glenn and Joshua Maher

Publisher Resources

ISBN: 9780735623927Supplemental ContentCatalog PageErrata