Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Exchange Appointment Types

I use the following code to save an appointment via Exchange Web Services Managed API:

Appointment appointment = new Appointment(m_exchangeService);
appointment.Subject = subject;
appointment.Body = body;
appointment.Start = start;
appointment.End = end;
appointment.Save();

When I do this the Appointment is created as a 'meeting' in Outlook. But I just want to have it as normal Appointment not a meeting. How do i do this?

like image 500
Luke Avatar asked Oct 06 '10 08:10

Luke


1 Answers

I found an answer. The following code creates a normal nonmeeting Appointment

appointment.Save(WellKnownFolderName.Calendar, SendInvitationsMode.SendToNone);
like image 139
Luke Avatar answered Sep 28 '22 04:09

Luke