-1
Store = SessionSrc.Stores.AddPSTStore(pst_path,1,'abc')

I am using this to add a pst file to attached pst's of Outlook.The problem is if i use the one below

Store = SessionSrc.Stores.AddPSTStore(pst_path,1)

It adds correctly with display_name of attached as Personal Folders.But when i provide a display_name to be set it doesnt use it and still add pst as Personal Folders.Is there a way to changes the display_name ?According to redemption documents , the 3rd optional argument is for setting display_name.Is it something different than what i am expecting?Do inform if more info is needed!!!

enter image description here

vks
  • 67,027
  • 10
  • 91
  • 124

1 Answers1

1

The PST provider sometimes ignores the specified displayed name when a PST store is added. Try to set the RDOStore.Name property after the store is added.

Dmitry Streblechenko
  • 62,942
  • 4
  • 53
  • 78