AddStore Method

         Example         Applies To        

Adds a personal folder (.pst) file to the current profile.

Syntax

object.AddStore(Store)

object   Required. An expression that returns a NameSpace object.

Store   Required Variant. The path of the .pst file to be added to the profile. If the .pst file does not exist, Microsoft Outlook creates it.