什么会显示一个Exhange

什么会显示一个Exhange

本文介绍了什么会显示一个Exhange / Outlook会议室的使用Exchange Web服务网页日历最简单的方法?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

什么是显示一个Exhange / Outlook会议室的使用Exchange Web服务网页日历的最简单方法?

What would be the simplest way to display an Exhange/Outlook meeting room's calendar on a webpage using Exchange Web Services?

有没有需要能够预订房间,取消会议等,只显示在某个会议室会议未来5天。

There's no need to be able to book rooms, cancel meetings etc., only to display the meetings in a certain meeting room for the next 5 days.

根据我的研究,我认为这可能是pretty多少我需要什么用,我只是不知道如何在网页中使用这些code例子:

Based on my research I think these could be pretty much what I need to use, I'm just not sure how to use these code examples in a webpage:

或本

Getting从Exchange 室约会有效地

您解答,指导将是非常美联社preciated!
谢谢!

Your answers, guidance would be much appreciated!Thank you!

推荐答案

我会建议使用 FindAppointments()的EWS托管API的方法。它的设计检索中符合特定日期范围内的邮箱中的日历文件夹的约会,类似途观的一次显示约会一个星期。您将需要确保您连接到Exchange服务,可以访问会议室的日历帐户。这里是一个小例子,让你开始:

I would suggest using the FindAppointments() method in the EWS Managed API. It's designed to retrieve appointments from a calendar folder in a mailbox that fit within a certain date range, similar to the way Outlook displays a week of appointments at a time. You will need to make sure you are connected to the Exchange service with an account that has access to the meeting room's calendar. Here is a small example to get you started:

// Specify the date range to search and max items returned
CalendarView calView = new CalendarView(new DateTime(2014, 1, 10), new DateTime(2014, 1, 20), 10);

// Specify the properties to be returned
calView.PropertySet = new PropertySet(BasePropertySet.FirstClassProperties);

// Find the appointments
FindItemsResults<Appointment> results = service.FindAppointments(WellKnownFolderName.Calendar, calView);

现在,你有你想要的日期范围内的约会,你可以采取的信息,并将其绑定到你的网页中显示然而,你喜欢的。例如,你可以使用一个日历控件和日历中显示特定日期这些任命。我没有这样一个完整的工作的例子,但这篇文章应该帮助你开始:

Now that you have the appointments for the date range you want, you can take the information and bind them to your web page to be displayed however you like. For example, you could use a calendar control and display these appointments within specific days on the calendar. I don't have a full working example of this, but this article should help get you started:

我希望这有助于。如果这样做解决您的问题,请注明这篇文章作为回答。

I hope this helps. If this does resolve your question, please mark this post as answered.

谢谢,

---鲍勃 -

这篇关于什么会显示一个Exhange / Outlook会议室的使用Exchange Web服务网页日历最简单的方法?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-23 19:27