_NameSpace.AddStore Method
Adds a Personal Folders (.pst) file to the current profile.
Namespace: Microsoft.Office.Interop.Outlook
Assembly: Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)
Syntax
'Declaration
Sub AddStore ( _
Store As Object _
)
'Usage
Dim instance As _NameSpace
Dim Store As Object
instance.AddStore(Store)
void AddStore(
Object Store
)
Parameters
- Store
Type: System.Object
The path of the .pst file to be added to the profile. If the .pst file does not exist, Microsoft Outlook creates it.
Remarks
Use the RemoveStore method to remove a .pst that is already added to a profile.