有没有一种方法可以使用C#从文档库中获取没有签入版本的文档列表 [英] Is there a way to get a list of document with no checked in version from a document library using C#

查看:78
本文介绍了有没有一种方法可以使用C#从文档库中获取没有签入版本的文档列表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我正在尝试检索文档库中没有签入版本的所有文档的列表.我已经检索了签出的文档,但是看不到从未签入的文档.我知道这可以 可以使用管理没有签入版本的文档"完成,但是我们有100多个站点,并且希望定期完成此任务.

I am attempting to retrieve a list of all the documents in a document library that do not have a checked in version.  I have retrieve the checked out document, but I cannot see the documents that have never been checked in.   I know this can be completed using the "Manage documents with no checked in versions", but we have 100s of sites and would like to complete this task regularly.

我不打算取得所有权或签入文件.我们希望检索列表以及将文档签出给谁,因此对用户进行教育并让他们签入他们的文档,这样就不会丢失任何内容.

I am not looking to take ownership or check the documents in.  We are looking to retrieve the list and who the document is checked out to, so educate the users and have them check their documents in, so no content is lost.

我假设必须要通过C#才能完成此请求,但是我找不到任何东西.

I am assuming there must be away to complete this request via C#, but I have not been able to find anything.

谢谢

Dwayne

推荐答案

您可以使用powershell获得否签入版本.请找到以下链接

You can get the no checked in versions by using powershell. Please find the following link

http://blog.falchionconsulting.com/index.php/2011/06/getting-and-takeing-ownership-of-checked-out-files-using-windows-powershell/


这篇关于有没有一种方法可以使用C#从文档库中获取没有签入版本的文档列表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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