Ignacio Soler Garcia
Ignacio Soler Garcia

Reputation: 21855

Creating a pst programmatically from an outlook vsto Addin

is it possible to programmatically create a PST file from and outlook vsto Addin as a response to button click with some default values (name, path, etc)?.

I can not find a COM api that allows me to do that.

Upvotes: 0

Views: 501

Answers (1)

Dmitry Streblechenko
Dmitry Streblechenko

Reputation: 66215

Sure, call Namespace.AddStore or Namespace.AddStoreEx.

Upvotes: 1

Related Questions