Luke
Luke

Reputation: 5971

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?

Upvotes: 5

Views: 1642

Answers (1)

Luke
Luke

Reputation: 5971

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

appointment.Save(WellKnownFolderName.Calendar, SendInvitationsMode.SendToNone);

Upvotes: 5

Related Questions