AttachmentId
Last modified: October 13, 2012
Applies to: Exchange Online | Exchange Server 2007 | Exchange Server 2010 | Exchange Server 2013 | Office 365
The AttachmentId element identifies an item or file attachment. This element is used in CreateAttachment responses.
<AttachmentId Id="" RootItemId="" RootItemChangeKey="" />
AttachmentIdType
The following sections describe attributes, child elements, and parent elements.
Attributes
|
Attribute |
Description |
|---|---|
|
Id |
Identifies the unique identifier of the attachment. |
|
RootItemId |
Identifies the unique identifier of the root store item to which the attachment is attached. |
|
RootItemChangeKey |
Identifies the change key of the root store item to which the attachment is attached. |
Child elements
None.
Parent elements
|
Element |
Description |
|---|---|
|
Represents an Exchange item that is attached to another Exchange item. |
|
|
Represents a file that is attached to an item in the Exchange store. |
It is important to note that when an attachment is created, the change key of the root item is altered.
The AttachmentId (GetAttachment and DeleteAttachment) element is used in DeleteAttachment and GetAttachment requests.
The schema that describes this element is located in the EWS virtual directory of the computer that is running MicrosoftExchange Server 2007 that has the Client Access server role installed.