【问题标题】:Adding attendees to Office 365 using Microsoft.Exchange.WebServices使用 Microsoft.Exchange.WebServices 将与会者添加到 Office 365
【发布时间】:2014-04-20 19:59:05
【问题描述】:

我正在开发 Windows c# 应用程序。我正在使用 Microsoft.Exchange.WebServices 在 Office 365 上创建新的日历条目当我将任何与会者添加到日历项目并保存到 Office 365 时,会自动发送与会者邀请。我不想向与会者发送会议请求,只想添加他们。有什么办法吗?

ObjAppointment.RequiredAttendees.Add(p_calendarProperties.invitees);

提前致谢

【问题讨论】:

    标签: c# office365


    【解决方案1】:

    为避免向与会者发送会议请求,请在保存约会时指定“SendToNone”SendInvitationsMode 值。

    ObjAppointment.Save(SendInvitationsMode.SendToNone);
    

    请参阅 Microsoft 文档: http://msdn.microsoft.com/en-us/library/microsoft.exchange.webservices.data.sendinvitationsmode(v=exchg.80).aspx

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2014-03-31
      相关资源
      最近更新 更多