【发布时间】:2017-11-14 03:26:49
【问题描述】:
有人知道如何使用 EWS 通过在线会议(Lync/Skype)创建会议请求吗?
所以我的方法是首先通过 Outlook 创建一个在线和定期会议,然后模拟具有相同属性的事件的创建。
这是我的会议代码 sn-p(calendarView 已经用开始日期、结束日期等进行了初始化):
ExtendedPropertyDefinition extendedOnlineMeetingProperty =
new ExtendedPropertyDefinition(new Guid("{00062008-0000-0000-c000-000000000046}"), 34112,
MapiPropertyType.Integer);
var properties = new PropertySet(
ItemSchema.Id,
AppointmentSchema.ICalUid,
ItemSchema.Subject,
AppointmentSchema.Start,
AppointmentSchema.End,
AppointmentSchema.Organizer,
AppointmentSchema.Location,
AppointmentSchema.LegacyFreeBusyStatus,
AppointmentSchema.IsCancelled,
AppointmentSchema.ICalRecurrenceId,
AppointmentSchema.MyResponseType, // Mandatory Meeting.MyResponseType can be retrieved without a search in the participant list
ItemSchema.LastModifiedTime,
AppointmentSchema.IsOnlineMeeting,
AppointmentSchema.IsMeeting,
ItemSchema.DisplayTo) { };
properties.Add(extendedOnlineMeetingProperty);
var activeResults = service.FindAppointments(WellKnownFolderName.Calendar, calendarView).ToList();
if (activeResults.Count > 0)
{
service.LoadPropertiesForItems(activeResults, properties);
}
我得到了具有正确布尔值的属性IsOnlineMeeting(经过测试 -
在变量 activeResults 中创建了与 Outlook 的在线和定期会议),但我不知道从哪里获取会议链接和加入会议所需的其他 Lync/Skype 属性。
我也不确定在哪里以及如何分配 Lync/Skype 会议 URL 和其他属性的值。
有时我会问自己,开发一些基于 MS 产品的应用是否值得,因为它们的文档很烂。
【问题讨论】:
标签: c# outlook exchangewebservices skype lync