FolderId

Topic Last Modified: 2007-10-19

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

Syntax

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

Type

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

CopiedEvent

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

ParentFolderId (Create)

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.

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 /EWS/ 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/types

Schema Name

Types schema

Validation File

Types.xsd

Can be Empty

False