Message Store Tables

Last modified: July 23, 2011

Applies to: Outlook

The message store table contains information about message store providers in the current profile. There is one message store table for every MAPI session, implemented by MAPI and used by clients. Clients can use this table, for example, to locate all instances of a particular provider or to locate a specific message store.

The message store table is dynamic. If the user of a client application edits the profile, changing the default message store, for example, the values of the PR_DEFAULT_STORE properties for the affected message stores are immediately updated.

Clients access the message store table by calling the IMAPISession::GetMsgStoresTable method.

The following properties make up the required column set in the message store table:

PR_DEFAULT_STORE (PidTagDefaultStore)

PR_DISPLAY_NAME (PidTagDisplayName)

PR_ENTRYID (PidTagEntryId)

PR_INSTANCE_KEY (PidTagInstanceKey)

PR_MDB_PROVIDER (PidTagStoreProvider)

PR_OBJECT_TYPE (PidTagObjectType)

PR_PROVIDER_DISPLAY (PidTagProviderDisplay)

PR_RECORD_KEY (PidTagRecordKey)

PR_RESOURCE_FLAGS (PidTagResourceFlags)

PR_RESOURCE_TYPE (PidTagResourceType)

Show: