Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
And
End
ID
Not
Or
SID
UID
URL
Expand Minimize
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.

ToFolderId

Topic Last Modified: 2006-06-11

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


<ToFolderId>
   <FolderId/>
</ToFolderId>

<ToFolderId>
   <DistinguishedFolderId/>
</ToFolderId>

TargetFolderIdType

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

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.

Namespace

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

Schema Name

Messages schema

Validation File

Messages.xsd

Can be Empty

False

Show:
© 2015 Microsoft