ToFolderId

Topic Last Modified: 2006-06-11

The ToFolderId element represents the destination folder for a copied or moved item or folder.

Syntax

<ToFolderId>
   <FolderId/>
</ToFolderId>

<ToFolderId>
   <DistinguishedFolderId/>
</ToFolderId>

Type

TargetFolderIdType

Attributes and Elements

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

Attributes

None.

Child Elements

Element Description

FolderId

Contains the identifier of a destination folder for a copied or moved item or folder.

DistinguishedFolderId

Identifies a named destination folder for a copied or moved item or folder.

Parent Elements

Element Description

MoveFolder

Defines a request to move a folder in the Exchange store.

The following is the XPath expression to this element:

/MoveFolder

CopyFolder

Defines a request to copy a folder in the Exchange store.

The following is the XPath expression to this element:

/CopyFolder

MoveItem

Defines a request to move an item in the Exchange store.

The following is the XPath expression to this element:

/MoveItem

CopyItem

Defines a request to copy an item in the Exchange store.

The following is the XPath expression to this element:

/CopyItem

Remarks

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

http://schemas.microsoft.com/exchange/services/2006/messages

Schema Name

Messages schema

Validation File

Messages.xsd

Can be Empty

False