Attachments

Last modified: March 16, 2009

Applies to: Exchange Server 2007 | Exchange Server 2010

The Attachments element contains the items or files that are attached to an item in the Exchange store.

<Attachments>
   <ItemAttachment/>
   <FileAttachment/>
</Attachments>

ArrayOfAttachmentsType and NonEmptyArrayOfAttachmentsType

Attributes and Elements

The following sections describe attributes, child elements, and parent elements.

Attributes

None.

Child 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.

Parent Elements

Element

Description

CreateAttachment

Defines a request to create an attachment to an item in the Exchange store.

The following is the XPath expression to this element: /CreateAttachment

AcceptItem

Represents an Accept reply to a meeting request.

The following are some of the XPath expressions to this element:

  • /CreateItem/Items

  • /MeetingRequest/ConflictingMeetings

  • /SetItemField/CalendarItem/ConflictingMeetings

  • /AppendToItemField/CalendarItem/ConflictingMeetings

  • /AcceptItem/Attachments/ItemAttachment/CalendarItem/ConflictingMeetings

  • /DeclineItem/Attachments/ItemAttachment/CalendarItem/ConflictingMeetings

  • /UpdateItem/ItemChanges/ItemChange/Updates/AppendToItemField/CalendarItem/AdjacentMeetings

  • /CreateAttachmentResponseMessage/Attachments/ItemAttachment/CalendarItem/AdjacentMeetings

  • /GetAttachmentResponseMessage/Attachments/ItemAttachment/CalendarItem/AdjacentMeetings

DeclineItem

Represents a Decline reply to a meeting request.

TentativelyAcceptItem

Represents a Tentative reply to a meeting request.

RemoveItem

Removes an item from the Exchange store.

Item

Represents a generic Exchange item.

MeetingMessage

Represents a meeting in the Exchange store.

MeetingRequest

Represents a meeting request in the Exchange store.

MeetingResponse

Represents a meeting response in the Exchange store.

MeetingCancellation

Represents a meeting cancellation in the Exchange store.

Message

Represents an Exchange e-mail message.

Task

Represents a task in the Exchange store.

CalendarItem

Represents an Exchange calendar item.

Contact

Represents an Exchange contact item.

DistributionList

Represents a distribution list.

CreateAttachmentResponseMessage

Contains the status and result of a single CreateAttachment request.

GetAttachmentResponseMessage

Contains the status and result of a GetAttachment request.

Remarks

The Attachments elements have the same child elements but are based on different types: ArrayOfAttachmentsType and NonEmptyArrayOfAttachmentsType. The types define whether a child element is required. The ArrayOfAttachmentsType is only used in the response message. It is also important to note that these elements occur in both the messages and types namespaces.

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.

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