RDOExchangeManageStore object |
RDOExchangeManageStore object wraps the functionality of the IExchangeManageStore, IExchangeManageStore3 and IExchangeManageStore4 Extended MAPI objects. .
Returned by:
RDOExchangeMailboxStore.ExchangeManageStore
RDOExchangePublicFoldersStore.ExchangeManageStore
The example below retrieves the list of mailboxes hosted on the same Exchanger server as the default store in the current profile.
|
skPrimaryExchangeMailbox = 3 |
Derived from: IDispatch |
|||
|
|
|||
Methods |
|||
|
|
|||
|
CreateStoreEntryID(MsgStoreDN, MailboxDN, ulFlags)
|
Combines the store DN with the mailbox DN to construct a store entry id that can be used to call RDOSession.GetStoreFromID. Corresponds to the IExchangeManageStore::CreateStoreEntryID MAPI method.
MsgStoreDN - Store DN. Must end with "/cn=Microsoft Private MDB" MailboxDN - mailbox DN (just the EX type address) ulFlags - a combination of rdoCreateStoreEntryIDFlags enums (see below):
OPENSTORE_USE_ADMIN_PRIVILEGE
(0x00000001)
|
||
|
EntryIDFromSourceKey(FolderSourceKey, MessageSourceKey)
|
Returns an entry id of a message or a folder given the value of the PR_SOURCE_KEY property of the message (MessageSourceKey parameter) and its parent folder (FolderSourceKey parameter). Both parameters must be hex strings. When creating a folder entry id, MessageSourceKey parameter must be "". Corresponds to the IExchangeManageStore::EntryIDFromSourceKey MAPI method.
FolderSourceKey - string. The hex representation of the folder entry id. MessageSourceKey - string. The hex representation of the message entry id. Can be "" if the method is being called to create the entry id of a folder.
|
||
|
GetMailboxTable(ServerName, Offset)
|
Returns MAPITable object representing the mailboxes hosted by the specified Exchange server. Corresponds to the IExchangeManageStore::GetMailboxTable and IExchangeManageStore3::GetMailboxTableOffset MAPI methods.
ServerName - optional, string. If an empty string is passed, the list of mailboxes is retrieved from the current store. Offset - optional, integer. The returned table has a limit of 65535 rows (MAPI limit). For servers with a large number of mailboxes, specify the offset from which the mailboxes will be returned.
|
see example above |
|
|
GetPublicFolderTable(ServerName, Offset)
|
Returns MAPITable object representing the public folders hosted by the specified Exchange server. Corresponds to the IExchangeManageStore::GetPublicFolderTable and IExchangeManageStore4::GetPublicFolderTableOffset MAPI methods.
ServerName - optional, string. If an empty string is passed, the list of public folders is retrieved from the current store. Offset - optional, integer. The returned table has a limit of 65535 rows (MAPI limit). For servers with a large number of public folders, specify the offset from which the public folders will be returned. |
||
|
|||