Compartir a través de


FolderId

Last modified: September 21, 2010

Applies to: Exchange Server 2007 | Exchange Server 2010

The FolderId element contains the identifier and change key of a folder.

<FolderId Id="" ChangeKey="" />

FolderIdType

Attributes and Elements

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

Attributes

Attribute

Description

Id

Contains a string that identifies a folder in the Exchange store. This attribute is required.

ChangeKey

Contains a string that identifies a version of a folder that is identified by the Id attribute. This attribute is optional. Use this attribute to make sure that the correct version of a folder is used.

Child Elements

None.

Parent Elements

Element

Description

ContextFolderId

Indicates the folder that is targeted for actions that use folders.

CopiedEvent

Represents an event in which an item or folder is copied.

DestinationFolderId

Indicates the destination folder for copy and move actions.

ParentFolderId (TargetFolderIdType)

Identifies the folder where a new folder or item is created.

The following are the XPath expressions to this element:

  • /CreateItem/ParentFolderId

  • /CreateFolder/ParentFolderId

BaseFolderIds

Represents the collection of folders that will be mined to determine the contents of a search folder.

Delete (FolderSync)

Identifies a single folder to delete in the local client store.

Folder

Represents a folder in a mailbox.

CalendarFolder

Represents a calendar folder in a mailbox.

FolderChange

Represents a collection of changes to be performed on a single folder.

The following is the XPath expression to this element: /UpdateFolder/FolderChanges/FolderChange

ContactsFolder

Represents a contact folder in a mailbox.

SearchFolder

Represents a search folder in a mailbox.

TasksFolder

Represents a task folder in a mailbox.

ToFolderId

Represents the destination folder for a copied or moved item or folder.

The following are the XPath expressions to this element:

  • /MoveFolder/ToFolderId

  • /CopyFolder/ToFolderId

  • /MoveItem/ToFolderId

  • /CopyItem/ToFolderId

SavedItemFolderId

Identifies the target folder for operations that update, send, and create items in the Exchange store.

The following are the XPath expressions to this element:

  • /CreateItem/SavedItemFolderId

  • /UpdateItem/SavedItemFolderId

  • /SendItem/SavedItemFolderId

SyncFolderId

Represents the folder that contains the items to synchronize.

UserConfigurationName

Represents the name of a user configuration object. The user configuration object name is the identifier for a user configuration object.

CopyToFolder

Identifies the ID of the folder that e-mail items will be copied to.

MoveToFolder

Identifies the ID of the folder that e-mail items will be moved to.

Text Value

None.

Remarks

All FolderId elements are of the FolderIdType type. The FolderId element is required in every case except in elements whose type extends the BaseFolderType or where the FolderId element is a part of a choice. Review the schema for more information.

The schema that describes this element is located in the IIS virtual directory that hosts Exchange Web Services of the Client Access server.

Element Information

Namespace

https://schemas.microsoft.com/exchange/services/2006/types

Schema Name

Types schema

Validation File

Types.xsd

Can be Empty

False