Close the current message storage file.
This method returns a boolean value. If the method succeeds, the return value is true. If the method fails, the return value is false. To get extended error information, check the value of the LastError property.
The CloseStore method closes the storage file that was previously opened, releasing all of the memory allocated for the message store and purging all deleted messages. This method must be called when the application has finished accessing the messages in the message store.
When the control instance is released by its container, the storage file will automatically be closed. To prevent deleted messages from being removed from the message store, use the Reset method.
MailMessage Class | SocketTools Namespace | OpenStore Method