title: VSTO - When get Outlook accounts list from NameSpace.Accounts it returns cached data
body: <p>I'm working on a plugin for Outlook. I need to always have an up-to-date list of Outlook accounts (File-&gt;Add Account), but when I take this data from NameSpace.Accounts, they are relevant only at the time Outlook starts. If I add another account or delete the old one, these changes will not be reflected in NameSpace.Accounts. Is there any way to refresh this data?</p>
  <p>I am using the following code to get accounts</p>
  <pre><code>var outlookObj = new Outlook.Application();
  var accounts = outlookObj.Application.Session.Accounts;
  foreach (Outlook.Account account in accounts)
  {
      //do something
  }
  </code></pre>