【发布时间】: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