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. More... | |
![]() | |
virtual mapi_object_t & | data () throw () |
Obtain a reference to the mapi_object_t associated with this object. More... | |
virtual property_container | get_property_container () |
Obtain a property_container to be used with this object. More... | |
virtual session & | get_session () |
Obtain the session associated with this object. More... | |
object (session &mapi_session, const std::string &object_type="") throw () | |
Object Constructor. More... | |
virtual | ~object () throw () |
Destructor. More... | |
Additional Inherited Members | |
![]() | |
mapi_object_t | m_object |
session & | m_session |
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()
|
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/ |