SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Here's the situation:

We have a number of Excel based tools that are checked into a SharePoint document library. I want a program that will allow me to check out one to many tools, perform maintenance on each one (executing macros inside the tool, etc), then check the tool(s) back in. I need assistance with programmatically checking in and out of the remote SharePoint server.

Requirements: CLIENT side execution to remote server VS2010/C#

Any and all help would be most appreciated.

Regards, John E.

share|improve this question
up vote 0 down vote accepted

If you are using SP 2010, then the client object model would be best. Here's a link to a similar question on another forum:

share|improve this answer
Thanks for your reply. I took a look at the link you provided, but it doesn't have any sample code or explaination. There's only a PowerShell script snippet. Am I missing something? – Falconeer Jun 25 '12 at 18:10
That was one example. The Client Object Model can be done in C#, JavaScript, or Silverlight. So no, they did not include code examples for all of the available code languages but you should be able to take what they have and easily convert it to the language that you need to utilize. See here for the official documentation: – Steve Lineberry Jun 25 '12 at 18:17
Thanks for the information. I was able to get the check in/out working in C#. – Falconeer Jun 26 '12 at 14:37
Thanks for the information. I was able to get the check in/out working in C#. – Falconeer Jun 26 '12 at 14:37 Care to share your code? thanks... – user17524 Jun 8 '13 at 22:00

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.