交换预约类型

时间:2010-10-06 08:47:59

标签: web-services exchange-server ews-managed-api

我使用以下代码通过Exchange Web服务托管API保存约会:

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

当我这样做时,约会在Outlook中创建为“会议”。但我只想把它作为正常的约会而不是会议。 我该怎么做?

1 个答案:

答案 0 :(得分:5)

我找到了答案。以下代码创建了一个普通的非会议约会

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