如何使用 .net 更新共享点列表? [英] How do I update a sharepoint list using .net?

查看:23
本文介绍了如何使用 .net 更新共享点列表?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经创建了一个 SharePoint 列表.我想偶尔使用 .NET 应用程序更新该列表.我该怎么做?

I have a SharePoint list already created. I would like to occassionally update that list using a .NET application. How would I do that?

这必须在远程机器上运行.

This has to run on remote machines.

推荐答案

pgb 的回答是正确的.这很简单,真的.对此的一个警告是,使用 SharePoint 对象模型的代码必须在 SharePoint 服务器本身上运行——而不是在远程机器上.如果您尝试远程与 SharePoint 列表交互,您可能希望使用 Web 服务.SharePoint 2007 在其内置 Web 服务中很好地涵盖了列表操作,但如果您想要更具体的功能,您可以随时推出自己的功能.

pgb's answer is correct. It's pretty simple, really. One caveat with this is that the code that uses the SharePoint object model must be running on the SharePoint server itself -- not a remote machine. If you're trying to interact with a SharePoint list remotely, you would probably want to use web services. SharePoint 2007 has decent coverage of list manipulation in its built-in web services, but if you want more specific functionality you can always roll your own.

自行选择的一个很好的起点是:http://msdn.microsoft.com/en-us/library/ms464040.aspx

A good starting point for the roll-your-own option is here: http://msdn.microsoft.com/en-us/library/ms464040.aspx

可在 http://msdn.microsoft.com/en-us/library/lists.aspx

这篇关于如何使用 .net 更新共享点列表?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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