AttachmentId

Topic Last Modified: 2008-09-08

The AttachmentId element identifies an item or file attachment. This element is used in CreateAttachment responses.

Syntax

<AttachmentId Id="" RootItemId="" RootItemChangeKey="" />

Type

AttachmentIdType

Attributes and Elements

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

ItemAttachment

Represents an Exchange item that is attached to another Exchange item.

FileAttachment

Represents a file that is attached to an item in the Exchange store.

Remarks

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 Microsoft Exchange Server 2007 that has the Client Access server role installed.

Element Information

Namespace

https://schemas.microsoft.com/exchange/services/2006/types

Schema name

Types schema

Validation file

Types.xsd

Can be empty

False

See Also

Other Resources

Exchange Web Services XML Elements