Appointment.withAttachment constructor
Appointment.withAttachment(
- ItemAttachment parentAttachment,
- bool isNew
Implementation
Appointment.withAttachment(ItemAttachment parentAttachment, bool isNew)
: super.withAttachment(parentAttachment) {
// If we're running against Exchange 2007, we need to explicitly preset
// the StartTimeZone property since Exchange 2007 will otherwise scope
// start and end to UTC.
if (parentAttachment.Service.RequestedServerVersion ==
ExchangeVersion.Exchange2007_SP1) {
if (isNew) {
_presetStartTimeZone(parentAttachment.Service);
}
}
}