DocumentBase.LockServerFile Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Locks the document on the server, which prevents anyone else from editing it.
public void LockServerFile ();
Remarks
This method applies only to documents stored on a server that is running Microsoft Office SharePoint Server.