_NameSpace.RemoveStore(MAPIFolder) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Removes a Personal Folders file (.pst) from the current MAPI profile or session.
public:
void RemoveStore(Microsoft::Office::Interop::Outlook::MAPIFolder ^ Folder);
public void RemoveStore (Microsoft.Office.Interop.Outlook.MAPIFolder Folder);
Public Sub RemoveStore (Folder As MAPIFolder)
Parameters
- Folder
- MAPIFolder
The Personal Folders file (.pst) to be deleted from the list.
Remarks
This method removes a store only from the Microsoft Outlook user interface. You cannot remove a store from the main mailbox on the server or from a user's hard disk using the Outlook object model.