how to set a document in check-in/out mode programmatically by using webservices or objetmodel in sharepoint
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
You need SPListItem.File.CheckOut / SPListItem.File.CheckIn from the object model. I don't know how to do this using the web service though.
回答2:
You need the CheckInFile and CheckOutFile web methods of the Lists webservice. The calls are pretty straight forward. Hope this helps.