This class represents the Message Store in Exchange. More...
#include <message_store.h>
Public Member Functions | |
mapi_id_t | get_default_folder (const uint32_t id) const throw (mapi_exception) |
Retrieves the folder id for the specified default folder in the Message Store. |
This class represents the Message Store in Exchange.
The message_store is the grouping of message folders (which could be the users private store including mail, calendar, todo list, journal, contacts and so on) or could be the public store (e.g. shared public folders).
It is not possible for you, the user, to create a message_store object. Instead, you should retrieve the message_store associated with a session using session::get_message_store()
mapi_id_t libmapipp::message_store::get_default_folder | ( | const uint32_t | id | ) | const throw (mapi_exception) [inline] |
Retrieves the folder id for the specified default folder in the Message Store.
id | The type of folder to search for. |
The following types of folders are supported:
If you are trying to enumerate all folders, you should open the olFolderTopInformationStore, and then get the hierarchy container for that top level folder.
References libmapipp::object::m_object.
![]() ![]() ![]() |
This content is licensed under the Creative Commons Attribution ShareAlike License v. 3.0: http://creativecommons.org/licenses/by-sa/3.0/ |