EWS托管API:ContactGroup [英] EWS Managed API: ContactGroup

查看:78
本文介绍了EWS托管API:ContactGroup的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用ContactGroup从Exchange 2010获取分发列表。


在参考中 http://msdn.microsoft.com/en-us/library/microsoft.exchange.webservices.data。 contactgroup_members(v = EXCHG.80).aspx   ContactGroup我应该有一个公共方法 bind()。 但我无法在EWS Managed API中找到它。所有其他方法都存在,但缺少绑定。


任何人都有答案?


 

解决方案

绑定是一种静态方法。您可以从类类型本身调用它,而不是从类的实例调用它:

 ContactGroup myGroup = ContactGroup.Bind(service); 


I'm trying to get a distributionlist from Exchange 2010 using ContactGroup.

In the refrence http://msdn.microsoft.com/en-us/library/microsoft.exchange.webservices.data.contactgroup_members(v=EXCHG.80).aspx ContactGroup i supposed to have a public method bind().  But i cant find it in EWS Managed API. All the other methods are there but bind is missing.

Anyone have a answer?

 

解决方案

Bind is a static method. You call it from the class type itself, not from an instance of the class:

ContactGroup myGroup = ContactGroup.Bind(service);


这篇关于EWS托管API:ContactGroup的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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