---
title: "Aspose::Email::Storage::Pst::MessageStore class"
url: "https://reference.aspose.com/email/cpp/aspose.email.storage.pst/messagestore/"
product: "Aspose.Email for C++"
description: "Message store is the root of the PST, which is the rough equivalent of the top of a Mailbox."
---


## MessageStore class

Message store is the root of the PST, which is the rough equivalent of the top of a Mailbox.

## Constructors

| Name | Description |
| --- | --- |
| [MessageStore](./messagestore/) | Initializes a new instance of the MessageStore class. |

## Methods

| Name | Description |
| --- | --- |
| [ChangeDisplayName](./changedisplayname/) | Changes the pst display name. |
| [ChangePassword](./changepassword/) | Sets the password. |
| [get_DeletedItemFolderEntryId](./get_deleteditemfolderentryid/) | Gets the EntryID of the Deleted Items Folder object. |
| [get_DisplayName](./get_displayname/) | Gets the display Name of PST. |
| [get_IsPasswordProtected](./get_ispasswordprotected/) | Gets a value indicating whether the storage is password protected. |
| [get_Properties](./get_properties/) | Gets the MAPI properties of message store object. The message store contains the top-level PST settings and metadata that are required to access and manage the PST contents. |
| [get_RecordKey](./get_recordkey/) | Gets the record Key. This is the Provider UID of this PST. |
| [get_RootMailBoxEntryId](./get_rootmailboxentryid/) | Gets the EntryID of the Root Mailbox Folder object. |
| [GetTotalItemsCount](./gettotalitemscount/) | Gets the total items count. Returns the total number of message items contained in the PST. |
| [IsPasswordValid](./ispasswordvalid/) | Determines whether the specified string is a valid password for the storage. |
| [SetProperty](./setproperty/) | Sets the property. |

