用ews交换一个room是"available now"如何获取?

How to get if a Room is "available now" in Exchange with ews?

我如何知道房间现在是否可用?

我尝试使用 EWS 的 GetUserAvailabilityRequest 功能,但我必须有另一个用户并尝试匹配他们的日历,但我不想这样。

我如何知道房间当前是否空闲?

I tried using GetUserAvailabilityRequest feature of EWS but i have to have another user and try matching their calendars and I dont want that.

这是不正确的,您可以使用 GetUserAvailiblity 仅查询操作需要 1 个或多个邮箱的房间邮箱(我认为您可能混淆了建议时间功能)。

在 EWS 中,您有两种选择可以执行此操作,您可以直接查询房间邮箱的日历,例如 https://msdn.microsoft.com/en-us/library/office/dn495614(v=exchg.150).aspx,也可以使用 GetUserAvailabilityRequest。如果你只需要为一个邮箱解决这个问题我建议你直接查询房间邮箱的日历

干杯 格伦