Can't retrieve Appointment.StartTimeZone through EWS Managed API on Exchange 2007 SP1

不羁的心 提交于 2019-12-19 03:16:18

问题


I can retrieve the Appointment.TimeZone for items with:

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

But not Appointment.StartTimeZone which returns null.

Appointment.TimeZone is string and seems to be comparable to DisplayName of TimeZoneInfo objects, but unfortunately this seems to be in the language of the end users (in our environment I encountered different languages returned by Exchange for different appointments). So it seems to be complicated/impossible to make proper use of TimeZone string for an appointment.

The main question is, what could result StartTimeZone of an appointment to be null?


回答1:


Unfortunately, Exchange 2007 SP1 does not support the StartTimeZone property of EWS. If you want to use that property, you must use Exchange 2010.

Sorry I couldn't be of any more help



来源:https://stackoverflow.com/questions/4133625/cant-retrieve-appointment-starttimezone-through-ews-managed-api-on-exchange-200

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!