ParentItemId

Topic Last Modified: 2009-07-27

The ParentItemId element identifies the parent item that links to an associated attachment.

Schema Hierarchy

CreateAttachment
  ParentItemId

Syntax

<ParentItemId Id="" ChangeKey="" />

Type

ItemIdType

Attributes and Elements

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

Attributes

Attribute Description

Id

Identifies a single item in the Exchange store to associate with an attachment. This value is a string. This attribute is required.

ChangeKey

Identifies an unspecified version of an item that is identified by the Id attribute in the Exchange store. This is used to make sure that a current item is used when it is updated with an attachment. This value is a string. This attribute is optional.

Child Elements

None.

Parent Elements

Element Description

CreateAttachment

Defines a request to create an attachment to an item in a mailbox.

The following is the XPath expression to this element:

/CreateAttachment

Remarks

This element is required in the CreateAttachment Operation. This element is basically the same as the ItemId element.

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

See Also

Reference

CreateAttachment Operation