无法解析符号'UserProfileWebService“ [英] Cannot resolve symbol 'UserProfileWebService'

查看:683
本文介绍了无法解析符号'UserProfileWebService“的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我发现这篇文章在MSDN上: http://msdn.microsoft.com /en-us/library/ms550407.aspx ,我想用code样品提供,但我似乎无法弄清楚如何解决 UserProfileWebService

I found this article on msdn: http://msdn.microsoft.com/en-us/library/ms550407.aspx, and I would like to use the code sample provided, but I can't seem to figure out how to resolve UserProfileWebService.

没有任何人知道我需要什么引用添加或这是某种形式的SDK的缺失?

Does anybody know what reference do I need to add or is this some sort of SDK missing?

此外,有没有任何替代 http://www.findjar.com 当它涉及到C#?

Also, is there any alternative to http://www.findjar.com when it comes to C#?

任何信息是AP preciated,谢谢!

Any info is appreciated, thank you!

注:我是在SharePoint小白一点点,所以我可能会丢失在我的脑海:(还有一些重要的数据块,我要指出,我们正在使用SharePoint 2010,VS2010,.net4.0和客户端对象模型来远程遍历。

NOTE: I am a little bit of a sharepoint noob, so I might be missing some important data blocks in my head :( Also, I should point out that we are using Sharepoint 2010, VS2010, .net4.0 and Client Object Model to traverse it remotely.

推荐答案

用户配置文件服务的Web服务命名空间是一个任意名称的引用, UserProfileService.asmx Web服务在Microsoft Office SharePoint Server 2007中它是在 MOSSSOAP(在mosssoap.dll)组装​​。该 UserProfileWebService 类驻留在 websvcUserProfileService 命名空间。

The User Profile Service Web service namespace is an arbitrary name for a reference to the UserProfileService.asmx Web service in Microsoft Office SharePoint Server 2007. It is in the MOSSSOAP (in mosssoap.dll) assembly. The UserProfileWebService class resides in the websvcUserProfileService namespace.

您需要添加一个引用 Microsoft.SharePoint.Client 组装和 Microsoft.SharePoint.Client.Runtime 组件。

You need to add a reference to the Microsoft.SharePoint.Client assembly and Microsoft.SharePoint.Client.Runtime assembly.

这篇关于无法解析符号'UserProfileWebService“的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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