无法通过Exchange 2007 SP1上的EWS托管API检索Appointment.StartTimeZone [英] Can't retrieve Appointment.StartTimeZone through EWS Managed API on Exchange 2007 SP1

查看:58
本文介绍了无法通过Exchange 2007 SP1上的EWS托管API检索Appointment.StartTimeZone的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我可以通过以下方式检索项目的Appointment.TimeZone:

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);

但不是Appointment.StartTimeZone,它返回空值.

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

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.

主要问题是,约会StartTimeZone可能为空的结果是什么?

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

推荐答案

不幸的是,Exchange 2007 SP1不支持EWS的StartTimeZone属性.如果要使用该属性,则必须使用Exchange 2010.

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

对不起,我无能为力了

这篇关于无法通过Exchange 2007 SP1上的EWS托管API检索Appointment.StartTimeZone的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆