简体   繁体   English

如何在C#中以编程方式从共享点服务器检出文件?

[英]How to checkout a file from a sharepoint server programatically in C#?

I am trying to implement the following example from Microsoft: 我正在尝试从Microsoft实施以下示例:

https://msdn.microsoft.com/en-us/library/lists.lists.checkoutfile%28v=office.12%29.aspx https://msdn.microsoft.com/zh-cn/library/lists.lists.checkoutfile%28v=office.12%29.aspx

But unfortunately, I cannot find the correct assembly to add to my project in order to access Web_Reference_Folder (this is unknown, and Resharper doesn't automatically offer an option to add it). 但不幸的是,我找不到要添加到我的项目中才能访问Web_Reference_Folder的正确程序集(这是未知的,并且Resharper不会自动提供添加选项)。

I have read that I need to install the Sharepoint Services 3 with SP2, but this setup package is for server operating systems only, it won't run on my Windows 7 x64. 我已经读到我需要安装Sharepoint Services 3 SP2,但是此安装程序包仅适用于服务器操作系统,无法在Windows 7 x64上运行。

So which tools do I need to install, or which assemblies to add in order to work with Web_Reference_Folder? 那么,为了使用Web_Reference_Folder,我需要安装哪些工具,或者添加哪些程序集?

When you have added the Web Reference, a Web Reference folder will be added to the solution explorer. 添加Web参考后,Web参考文件夹将添加到解决方案资源管理器中。 The Web Reference folder will include the name of the web host. Web Reference文件夹将包含Web主机的名称。 For more information please see the below link 有关更多信息,请参见下面的链接

http://forums.asp.net/t/1531191.aspx?help+interpretting+msdn+article+ http://forums.asp.net/t/1531191.aspx?help+interpreting+msdn+article+

Hope this will help you. 希望这会帮助你。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何以编程方式从远程共享点服务器签出文档(c#) - How to check out a document from a remote sharepoint server programatically (c#) 如何以编程方式从Sharepoint服务器下载文件并锁定它? - How can I programatically download a file from a sharepoint server and lock it? 如何使用 c# 以编程方式将文档从 Sharepoint 2010 迁移到 sharepoint online - How to migrate documents from Sharepoint 2010 to sharepoint online programatically using c# 从安全的Sharepoint服务器C#下载文件 - Downloading file from secure sharepoint server c# 如何使用C#以编程方式从SharePoint网站获取所有图片库的列表 - How to get list of all picture libraries from SharePoint site programatically using C# 如何以编程方式从网站下载文件C# - How to Download a file from a website programatically c# Xamarin C#-如何从变量中以编程方式引用资源文件 - Xamarin C# - How to reference a resource file programatically from a variable 如何在C#,Sharepoint 2010中以编程方式删除列表的视图? - How to delete a list's view programatically in C#, Sharepoint 2010? 如何使用C#以编程方式创建共享点导航栏 - How to create sharepoint navigation bar programatically using c# 使用C#在Sharepoint服务器上编辑文件 - Editing a file on a Sharepoint Server with C#
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM