Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

DistinguishedFolderIdNameType enumeration

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

Namespace:  ExchangeWebServices
Assembly:  EWS (in EWS.dll)
[SerializableAttribute]
public enum DistinguishedFolderIdNameType
Member nameDescription
calendarRepresents the Calendar folder.
contactsRepresents the Contacts folder.
deleteditemsRepresents the Deleted Items folder.
draftsRepresents the Drafts folder.
inboxRepresents the Inbox folder.
journalRepresents the Journal folder.
notesRepresents the Notes folder.
outboxRepresents the Outbox folder.
sentitemsRepresents the Sent Items folder.
tasksRepresents the Tasks folder.
msgfolderrootRepresents the message folder root.
publicfoldersroot
rootRepresents the root of the mailbox.
junkemailRepresents the Junk E-mail folder.
searchfoldersRepresents the Search Folders folder. This is also an alias for the Finder folder.
voicemailRepresents the Voice Mail folder.
recoverableitemsroot
recoverableitemsdeletions
recoverableitemsversions
recoverableitemspurges
archiveroot
archivemsgfolderroot
archivedeleteditems
archiverecoverableitemsroot
archiverecoverableitemsdeletions
archiverecoverableitemsversions
archiverecoverableitemspurges
syncissues
conflicts
localfailures
serverfailures
recipientcache
quickcontacts
conversationhistory
adminauditlogs
todosearch
mycontacts
directory
imcontactlist
peopleconnect

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.

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 = DistinguishedFolderIdNameType.inbox;
TargetFolderIdType targetID = new TargetFolderIdType();
targetID.Item = distFolder;
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.