Exchange-Server – Can’t retrieve Appointment.StartTimezone via EWS hosting API on Exchange 2007 SP1

I can retrieve the Appointment.TimeZone of the project:

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

But not Appointment.StartTimeZone returns null.

Appointment.TimeZone is a string, which seems to be equivalent to the DisplayName of the TimeZoneInfo object, but unfortunately, this seems to be the language of the end user (in our environment, I have encountered the difference that Exchange returns for different appointments Language). Therefore, it seems complicated/impossible to use the TimeZone string correctly for appointments.

The main question is, what could cause the StartTimeZone of the appointment to be null?

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

Sorry, I don’t have any help

I can retrieve the Appointment.TimeZone of the project:

< /p>

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

But not Appointment.StartTimeZone returns null.

Appointment.TimeZone is a string, which seems to be equivalent to the DisplayName of the TimeZoneInfo object, but unfortunately , This seems to be the language of the end user (in our environment, I encountered different languages ​​returned by Exchange for different appointments). Therefore, it seems complicated/impossible to properly use TimeZone strings for appointments.

< p>The main question is, what could cause the StartTimeZone of the appointment to be null?

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

Sorry, I don’t have any help

Leave a Comment

Your email address will not be published.