We are creating appointment in Outlook 2013 using EWS API. We want to create appointment which will not be delete by user. Only service can delete these appointment. how we can enable this feature for appointment.(*Appointment should not be delete by user*)
Currently, We are using Lotus notes and We can make appointment read only in notes for users.But API can delete these appointment.
Code:-
ExchangeService exchangeService = objExchangeservice_Conn.fnExchangeService_Conn(); //Create an appointment try { Appointment appointment = new Appointment(exchangeService); //object to create an appointment. appointment.Subject = "Test Meeting "; appointment.Body = "This is test for a appointment"; appointment.Start = DateTime.Now.AddDays(1); appointment.End = appointment.Start.AddHours(1); appointment.Location = "test"; appointment.ReminderDueBy = DateTime.Now; appointment.RequiredAttendees.Add(""); appointment.Save(SendInvitationsMode.SendToNone); Item item = Item.Bind(exchangeService, appointment.Id, new PropertySet(ItemSchema.Subject));
- Edited by John_Y007 Thursday, June 18, 2015 1:14 PM