[英]Cannot Access Shared Contacts Folder In Outlook 2010 VB.Net
Im creating outlook add-in and I am having problems getting into Shared folder using vb.net. 我创建Outlook加载项,我在使用vb.net进入共享文件夹时遇到问题。
I have tried 我努力了
contactsFolder = ns.Folders.Item("Shared Contacts")
and 和
contactsFolder = ns.Folders.Item("Public Folders")
still have no way of accessing it. 仍无法访问它。 can someone help me please. 有人能帮助我吗。 I keep getting error: 我一直收到错误:
The attempted operation failed. An object could not be found.
Since you are using a shared folder, the folder must not exist in the default Store
. 由于您使用的是共享文件夹,因此该文件夹不得存在于默认 Store
。 You probably need to enumerate Session.Stores
( ns.Stores
). 您可能需要枚举Session.Stores
( ns.Stores
)。 See related SO post for code example. 有关代码示例,请参阅相关SO帖子 。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.