Quantcast
Channel: Exchange Server Development forum
Viewing all articles
Browse latest Browse all 7132

Appointment.Sensitivity not updating after modification to the appointments Private switch

$
0
0
I create a private (check Mark As Private) meeting in OWA

Using GetAppointment I query for the meeting and retrieve it with the proper Sensitivity value of Private


       
 public Appointment GetAppointment(ItemEvent itemEvent)        {            Appointment appointment;            try {                appointment= Appointment.Bind(exchangeService, itemEvent.ItemId.ToString());                ExtendedPropertyDefinition prop = new ExtendedPropertyDefinition(DefaultExtendedPropertySet.Appointment, 0x8238, MapiPropertyType.String);                PropertySet psPropset = new PropertySet(BasePropertySet.FirstClassProperties) { AppointmentSchema.Subject,AppointmentSchema.Body, prop };                                appointment.Load(psPropset);            } catch (Exception ex) {                Logger eventLogger = new Logger();                eventLogger.WriteToEventLog(true, 108, "ExchangeDataAccess error GetAppointment: " + ex.Message);                appointment = null; ;            }            return appointment;        }


Go back to OWA and edit the meeting so that it is NOT private.  Run the same GetAppointment for that meeting again but the Sensitivity value is still Private even though it should be `Normal`

FYI:
Its whenever the meeting changes from Private to Normal that Sensitivity is not updated.  The reverse does properly update the Sensitivity [going from Normal to Private].


Viewing all articles
Browse latest Browse all 7132

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>