Edit

Share via


DistinguishedFolderIdNameType Enum

Definition

The DistinguishedFolderIdNameType enumeration identifies well-known Microsoft Exchange Server 2007 folders that can be referenced by name.

public enum class DistinguishedFolderIdNameType
public enum DistinguishedFolderIdNameType
Public Enum DistinguishedFolderIdNameType
Inheritance
DistinguishedFolderIdNameType

Fields

Name Value Description
calendar 0

Represents the Calendar folder.

contacts 1

Represents the Contacts folder.

deleteditems 2

Represents the Deleted Items folder.

drafts 3

Represents the Drafts folder.

inbox 4

Represents the Inbox folder.

journal 5

Represents the Journal folder.

notes 6

Represents the Notes folder.

outbox 7

Represents the Outbox folder.

sentitems 8

Represents the Sent Items folder.

tasks 9

Represents the Tasks folder.

msgfolderroot 10

Represents the message folder root.

publicfoldersroot 11
root 12

Represents the root of the mailbox.

junkemail 13

Represents the Junk E-mail folder.

searchfolders 14

Represents the Search Folders folder. This is also an alias for the Finder folder.

voicemail 15

Represents the Voice Mail folder.

recoverableitemsroot 16
recoverableitemsdeletions 17
recoverableitemsversions 18
recoverableitemspurges 19
archiveroot 20
archivemsgfolderroot 21
archivedeleteditems 22
archiverecoverableitemsroot 23
archiverecoverableitemsdeletions 24
archiverecoverableitemsversions 25
archiverecoverableitemspurges 26
syncissues 27
conflicts 28
localfailures 29
serverfailures 30
recipientcache 31
quickcontacts 32
conversationhistory 33
adminauditlogs 34
todosearch 35
mycontacts 36
directory 37
imcontactlist 38
peopleconnect 39

Examples

The following code example from the Creating Folders (Exchange Web Services) topic shows you how the DistinguishedFolderIdNameType enumeration is used to identify a folder in a mailbox.

DistinguishedFolderIdType distFolder = new DistinguishedFolderIdType();
distFolder.Id = <span class="label">DistinguishedFolderIdNameType</span>.inbox;
TargetFolderIdType targetID = new TargetFolderIdType();
targetID.Item = distFolder;

Remarks

The DistinguishedFolderIdNameType enumeration values act as aliases for default folders in a mailbox. All folders that are identified by this enumeration can also be identified by a folder identifier.

Applies to