O'Reilly logo

Inside Microsoft® Exchange Server 2007 Web Services by Huw Upshall, Mark Taylor, Ben Spain, Michael Mainer, David Sterling

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Summary

Exchange Web Services supports two types of attachments. File attachments contain the binary content of the attached file while Item attachments are ItemType descendants in and of themselves, and they can have their own attachments, thus creating an attachment hierarchy. The GetItem Web method can return metadata about an item’s attachments. But to retrieve the actual content of the embedded attachment, you must call the GetAttachment Web method. Creating an attachment is handled by the CreateAttachment Web method. As you saw, to attach an existing Store item to another item, you must retrieve the pertinent properties for the item to be attached and then create the new item attachment from those properties. You also saw how you can delete ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required