目前,我可以得到一个房间的所有约会,但我有很多房间,如果我想显示所有约会,表现非常糟糕,所以我想问是否有方法获取所有房间一次为多个房间预约?预约所有房间
Q
预约所有房间
-2
A
回答
0
不,没有操作来做到这一点。但是,如果您请求CalendarDetails,请参阅http://msdn.microsoft.com/en-us/library/office/hh532567%28v=exchg.80%29.aspx,但您可以使用GetUserAvailbility操作为您提供FreeBusy状态和Calendar属性的开始,结束,位置,主题的子集。此操作通常在42天的时间窗口中存在一些限制,每个请求只能检索最多100个邮箱。
干杯 格伦
0
https://msdn.microsoft.com/en-us/library/office/dn495614(v=exchg.150).aspx
// Initialize values for the start and end times, and the number of appointments to retrieve.
DateTime startDate = DateTime.Now;
DateTime endDate = startDate.AddDays(30);
const int NUM_APPTS = 5;
// Initialize the calendar folder object with only the folder ID.
CalendarFolder calendar = CalendarFolder.Bind(service, WellKnownFolderName.Calendar, new PropertySet());
// Set the start and end time and number of appointments to retrieve.
CalendarView cView = new CalendarView(startDate, endDate, NUM_APPTS);
// Limit the properties returned to the appointment's subject, start time, and end time.
cView.PropertySet = new PropertySet(AppointmentSchema.Subject, AppointmentSchema.Start, AppointmentSchema.End);
// Retrieve a collection of appointments by using the calendar view.
FindItemsResults<Appointment> appointments = calendar.FindAppointments(cView);
Console.WriteLine("\nThe first " + NUM_APPTS + " appointments on your calendar from " + startDate.Date.ToShortDateString() +
" to " + endDate.Date.ToShortDateString() + " are: \n");
foreach (Appointment a in appointments)
{
Console.Write("Subject: " + a.Subject.ToString() + " ");
Console.Write("Start: " + a.Start.ToString() + " ");
Console.Write("End: " + a.End.ToString());
Console.WriteLine();
}
相关问题
- 1. 获取所有用户的所有约会或获得一个房间的所有约会
- 2. Exchange EWS:如何获取房间中的所有约会
- 3. 通过一个账户从不同房间获取预约
- 4. 选择可预订房间
- 5. 房间预订sql查询
- 6. 房间预订查询
- 7. 截断所有表格 - 房间
- 8. 从没有房间列表的Exchange(ews)获取域的所有房间
- 9. Android房间FOREIGN KEY约束失败
- 10. 预约时间表
- 11. 在一个房间里的所有用户加入另一个房间
- 12. 预约预约
- 13. 获取客房约会有效地从交易所
- 14. 预测房屋
- 15. 交易所预约类型
- 16. 显示一天的房间预订
- 17. mySQL。房间的最新预订类型
- 18. 谷歌电子表格房间预订
- 19. LightSwitch的房间预订申请
- 20. 每个房间预订限制6人
- 21. 酒店房间预订的SQL查询
- 22. 预约可用时间
- 23. 预约时间锁定
- 24. 预约当前时间
- 25. 酒店 - 多个房间有多位家属的单独预订
- 26. php mySQL房间预订日历显示预订日期错误
- 27. 房间表和预订表之间的关系基数
- 28. 获取前景中所有房间的列表
- 29. 不能发现所有连接在房间里的用户socket.io
- 30. QuickBlox:如何获得房间的所有成员?
谢谢你,它的工作原理是GetUserAvailbility – 2014-12-02 17:15:50