다음을 통해 공유


GetAttachment

Topic Last Modified: 2006-06-11

The GetAttachment element is the root element in a request to get an attachment from the Exchange store.

Syntax

<GetAttachment>
   <AttachmentShape/>
   <AttachmentIds/>
</GetAttachment>

Type

GetAttachmentType

Attributes and Elements

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

Attributes

None.

Child Elements

Element Description

AttachmentShape

Identifies additional extended item properties to return in a response to a GetAttachment request. This element is optional.

AttachmentIds

Contains an array of attachment identifiers.

Parent Elements

None.

Remarks

The AttachmentShape element is not required to identify the properties returned in the response. The GetAttachment Operation returns the Name, ContentType, ContentId, ContentLocation, and the Content properties for file attachments. For item attachments, the returned properties are the Name, ContentType, ContentId, ContentLocation, and all the attached item’s properties. This is equivalent to using the AllProperties base shape in a GetItem request.

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/messages

Schema Name

Messages schema

Validation File

Messages.xsd

Can be Empty

False