【问题标题】:Can't retrieve Appointment.StartTimeZone through EWS Managed API on Exchange 2007 SP1无法通过 Exchange 2007 SP1 上的 EWS 托管 API 检索 Appointment.StartTimeZone
【发布时间】:2011-05-07 05:24:55
【问题描述】:

我可以检索 Appointment.TimeZone 的项目:

PropertySet propertiesAll = new PropertySet(BasePropertySet.IdOnly, ..., AppointmentSchema.TimeZone, AppointmentSchema.StartTimeZone, ...);
ServiceResponseCollection<ServiceResponse> response = Exchange.LoadPropertiesForItems(items, propertiesAll);

但不是 Appointment.StartTimeZone,它返回 null。

Appointment.TimeZone 是字符串,似乎与 TimeZoneInfo 对象的 DisplayName 相当,但不幸的是,这似乎是最终用户的语言(在我们的环境中,我遇到了 Exchange 针对不同约会返回的不同语言)。因此,在约会中正确使用TimeZone 字符串似乎很复杂/不可能。

主要问题是,什么会导致约会的StartTimeZone 为空?

【问题讨论】:

    标签: exchange-server exchangewebservices ews-managed-api


    【解决方案1】:

    很遗憾,Exchange 2007 SP1 不支持 EWS 的 StartTimeZone 属性。如果要使用该属性,则必须使用 Exchange 2010。

    抱歉,帮不上忙

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2015-03-18
      • 2015-02-21
      • 1970-01-01
      • 2016-04-08
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多