Exchange Appointment Types

只谈情不闲聊 提交于 2019-12-23 10:07:36

问题


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?


回答1:


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

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


来源:https://stackoverflow.com/questions/3870818/exchange-appointment-types

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!