从房间资源日历获取预约身体 [英] Get Appointment Body from a Room Resource Calendar

查看:76
本文介绍了从房间资源日历获取预约身体的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

根据这篇文章,使用FindItem和GetItem的组合,应该可以从约会中检索笔记部分。

http://msdn.microsoft.com/en-us/library/bb508824.aspx

这似乎适用于USER邮箱,但对房间资源邮箱执行时失败。有没有办法从房间资源邮箱中的约会检索邮件正文? Body.Value只在资源邮箱上返回null,但相同的代码在用户邮箱上正常工作。

谢谢,
Dan

解决方案

在检索邮件箱和资源邮箱之间应该没有任何区别,您可能会发现您的代码在其他地方失败了。例如,如果您的代码使用模拟,则默认情况下将禁用资源邮箱的相应Active Directory用户对象,因为您无法模拟已禁用的帐户,但是您可能无法检查返回代码。

欢呼
格伦

According to this article, using a combination of FindItem and GetItem it should be possible to retrieve the notes section from an appointment.

http://msdn.microsoft.com/en-us/library/bb508824.aspx

This seems to work fine for a USER mailbox but fails when executed against a room resource mailbox.  Is there a way to retrieve the message body from from an appointment in a room resource mailbox?  Body.Value just returns null on a resource mailbox but the same code works fine on a user mailbox.

Thanks,
Dan

解决方案

There shouldn't be any difference between a Mailbox and a Resource mailbox in regards to retrieval what you might find is your codes failing somewhere else. eg a resource mailbox's corresponding Active Directory User object will be disabled by default if your code is using Impersonation because you can't impersonate a disabled account it will fail you might want to check your return codes.

Cheers
Glen


这篇关于从房间资源日历获取预约身体的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆