2010-11-09 52 views
5

我可以用物品檢索Appointment.TimeZone無法在Exchange 2007中,通過EWS託管API檢索Appointment.StartTimeZone SP1

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

但不是Appointment.StartTimeZone其返回null。

Appointment.TimeZone是字符串,似乎可以媲美TimeZoneInfoDisplayName對象,但不幸的是這似乎是在最終用戶的語言(在我們的環境中我遇到通過交易所不同的約會返回不同的語言)。因此,在約會中正確使用TimeZone字符串似乎很複雜/不可能。

主要問題是,什麼可能導致StartTimeZone的約會爲空?

回答

5

不幸的是,Exchange 2007 SP1不支持EWS的StartTimeZone屬性。如果您想使用該屬性,則必須使用Exchange 2010.

對不起,我不能再有任何幫助

相關問題