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

adminauditlogs 34
archivedeleteditems 22
archivemsgfolderroot 21
archiverecoverableitemsdeletions 24
archiverecoverableitemspurges 26
archiverecoverableitemsroot 23
archiverecoverableitemsversions 25
archiveroot 20
calendar 0

Represents the Calendar folder.

conflicts 28
contacts 1

Represents the Contacts folder.

conversationhistory 33
deleteditems 2

Represents the Deleted Items folder.

directory 37
drafts 3

Represents the Drafts folder.

imcontactlist 38
inbox 4

Represents the Inbox folder.

journal 5

Represents the Journal folder.

junkemail 13

Represents the Junk E-mail folder.

localfailures 29
msgfolderroot 10

Represents the message folder root.

mycontacts 36
notes 6

Represents the Notes folder.

outbox 7

Represents the Outbox folder.

peopleconnect 39
publicfoldersroot 11
quickcontacts 32
recipientcache 31
recoverableitemsdeletions 17
recoverableitemspurges 19
recoverableitemsroot 16
recoverableitemsversions 18
root 12

Represents the root of the mailbox.

searchfolders 14

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

sentitems 8

Represents the Sent Items folder.

serverfailures 30
syncissues 27
tasks 9

Represents the Tasks folder.

todosearch 35
voicemail 15

Represents the Voice Mail folder.

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