_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
<DispIdAttribute()> _
Sub AddStore ( _
Store As Object _
)
'Usage
Dim instance As _NameSpace
Dim Store As Object
instance.AddStore(Store)
[DispIdAttribute()]
void AddStore(
Object Store
)
Parameters
Store
Type: System.ObjectThe 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.