DistinguishedFolderId
Topic Last Modified: 2007-10-30
The DistinguishedFolderId element identifies Microsoft Exchange Server 2007 folders that can be referenced by name. If you do not use this element, you must use the FolderId element to identify a folder.
Syntax
<DistinguishedFolderId Id="" ChangeKey="">
<Mailbox/>
</DistinguishedFolderId>
Type
DistinguishedFolderIdType
Attributes and Elements
The following sections describe attributes, child elements, and parent elements.
Attributes
Attribute | Description |
---|---|
Id |
Contains a string that identifies a default folder. 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. |
Id Attribute Values
Value | Description |
---|---|
calendar |
Represents the Calendar folder. |
contacts |
Represents the Contacts folder. |
deleteditems |
Represents the Deleted Items folder. |
drafts |
Represents the Drafts folder. |
inbox |
Represents the Inbox folder. |
journal |
Represents the Journal folder. |
notes |
Represents the Notes folder. |
outbox |
Represents the Outbox folder. |
sentitems |
Represents the Sent Items folder. |
tasks |
Represents the Tasks folder. |
msgfolderroot |
Represents the message folder root. |
root |
Represents the root of the mailbox. |
junkemail |
Represents the Junk E-mail folder. |
searchfolders |
Represents the Search Folders folder. |
voicemail |
Represents the Voice Mail folder. |
Child Elements
Element | Description |
---|---|
Identifies a primary SMTP address. Proxy addresses are not allowed. The use of this element is optional based on the use of the DistinguishedFolderId element. The Mailbox element is required for delegate access. |
Parent Elements
Element | Description |
---|---|
Identifies the folder in which a new folder or item is created. The following are the XPath expressions to this element:
|
|
Identifies folders to search for the FindItem and FindFolder operations. |
|
Represents the collection of folders that will be searched to determine the contents of a search folder. |
|
Contains an array of folder identifiers that are used to identify folders to copy, move, get, delete, or monitor for event notifications. |
|
Represents a collection of changes to be performed on a single folder. The following is the XPath expression to this element: |
|
Represents the destination folder for a copied or moved item or folder. The following are the XPath expressions to this element:
|
|
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:
|
|
Represents the folder that contains the items to synchronize. |
Remarks
A DistinguishedFolderId resolves to a FolderId.
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 |
https://schemas.microsoft.com/exchange/services/2006/types |
Schema Name |
Types schema |
Validation File |
Types.xsd |
Can be Empty |
False |
See Also
Other Resources
Creating Folders (Exchange Web Services)
Exchange Web Services XML Elements