【问题标题】:Exchange version from VSTO Add-In来自 VSTO 加载项的 Exchange 版本
【发布时间】:2019-11-20 11:32:31
【问题描述】:

是否有一种简单的方法可以从 VSTO 加载项中检索 Exchange 版本。我注意到here WMI 可能是一个选项。我想避免使用 powershell。

【问题讨论】:

    标签: outlook vsto outlook-addin mapi


    【解决方案1】:

    Exchange 服务器版本存储在商店配置文件部分的0x663B0102 属性中。在 0x661B0003 的旧版 Outlook(2003 及更低版本)中。它只能通过扩展 MAPI(C++ 或 Delphi)访问 - 从 IMsgStore 读取 PR_EMSMDB_SECTION_UID,使用它调用 IMAPISession::OpenProfileSection,从 IProfSect 读取 0x663B0102

    如果使用Redemption(任何语言)是一个选项,它会公开RDOSession.ExchangeMailboxServerVersionRDOExchangeMailboxStore.ServerVersion 属性。

    【讨论】:

      猜你喜欢
      • 2017-04-20
      • 1970-01-01
      • 2018-04-06
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2018-07-19
      • 2017-03-10
      • 1970-01-01
      相关资源
      最近更新 更多