Dela via


ToFolderId

Last modified: March 16, 2009

Applies to: Exchange Server 2007 | Exchange Server 2010

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

<ToFolderId>
   <FolderId/>
</ToFolderId>

<ToFolderId>
   <DistinguishedFolderId/>
</ToFolderId>

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 MicrosoftExchange 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