C#中的Outlook附加组件:检查可用性日历 [英] C# Outlook Add-On: Check Calendars Availability

查看:232
本文介绍了C#中的Outlook附加组件:检查可用性日历的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在一个外接的Outlook工作使用C#,我想能够检查日历的可用性(我和其他人')。我尝试使用GetSharedDefaultFolder(),但只有那些谁专门给我的工作的权限,即使在我公司的所有日历可以由他人(我们可以看到约会的主题和时间)进行查看。有反正我可以得到这些信息?谢谢

I am working on an add-in for Outlook using C# and I want to be able to check the availability of calendars (mine and others'). I tried using GetSharedDefaultFolder() but it only worked with those who specifically gave me permission, even though all calendars in my company can be viewed by others (we can see the subject and times of appointments). Is there anyway I can get these information? Thanks.

修改:我想强调的是,我的问题是与GetSharedDefaultFolder(),而不是GetDefaultFolder()(即查看其他人的日历。 )另外,我只需要能够检查其他人的日历的可用性,而不是让完全访问日历。

EDIT: I want to emphasize that my problem is with GetSharedDefaultFolder() rather than GetDefaultFolder() (i.e. viewing others' calendars.) Also, I only need to be able to check others' calendars availability, as opposed to having full access to the calendar.

推荐答案

不要直接访问该文件夹 - 使用Recipient.FreeBusy或AddressEntry.GetFreeBusy

Do not access the folder directly - use Recipient.FreeBusy or AddressEntry.GetFreeBusy

这篇关于C#中的Outlook附加组件:检查可用性日历的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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