Programmatically Check in\Check out documents in Sharepoint 2010 |
In this post we will see an example of how to check out and check in one or all the documents in a SharePoint 2010 document library programmatically. I have created a console application to the task using System; namespace CheckinCheckoutDemo foreach (SPFile file in docs.RootFolder.Files) // Getting the above Checked Out file. // Check in and add a comment. |
Monday, November 28, 2011
Programmatically Check in\Check out documents in Sharepoint 2010
Category:
SharePoint 2010
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment