_NameSpace.AddStoreEx(Object, OlStoreType) 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.
Adds a Personal Folders file (.pst) in the specified format to the current profile.
public:
void AddStoreEx(System::Object ^ Store, Microsoft::Office::Interop::Outlook::OlStoreType Type);
public void AddStoreEx (object Store, Microsoft.Office.Interop.Outlook.OlStoreType Type);
Public Sub AddStoreEx (Store As Object, Type As OlStoreType)
Parameters
- Store
- Object
The path of the .pst file to be added to the profile. If the .pst file does not exist, Microsoft Outlook creates it.
- Type
- OlStoreType
The format in which the data file should be created.
Remarks
Use the olStoreUnicode constant to add a new .pst file that has greater storage capacity for items and folders and supports multilingual Unicode data, to the user's profile. The olStoreANSI constant allows you to create .pst files that do not provide full support for multilingual Unicode data, but are compatible with earlier versions of Outlook. The olStoreDefault constant helps you create a .pst file in the default format that is compatible with the mailbox mode in which Outlook runs on the Microsoft Exchange Server.
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應