Destination. Preservation and purpose. Update always sets IsMeeting to true

I want to create meetings, not meetings:

Appointment app = new Appointment(ews); app.Start = DateTime.Now; app.End = DateTime.Now.AddMinutes(60); app.Subject = "My Subject"; app.Save(); string unid = app.Id.UniqueId; // here the unid is given to the client, that may make another call leading to: ItemId iid = new ItemId(unid); app = Appointment.Bind(ews, iid, calendarFullEntryProperties); return app.IsMeeting; // Will return true, although I never added any participants. 

Why? I did not notice anything in the documents?

+1
source share
1 answer

EWS uses the same type of object for meetings and appointments. The default behavior is when you Save() or Update() makes an appointment, invites an invitation to meetings, even if you have not invited anyone. This essentially sets IsMeeting to true. To save this as a destination, change your line of code to save:

 app.Save(SendInvitationsMode.SendToNone); 

This will send out invitations and keep IsMeeting false.

+3
source

All Articles