Document.LockServerFile Method

Definition

Locks the document on the server, which prevents anyone else from editing it.

public:
 void LockServerFile();
public void LockServerFile ();
abstract member LockServerFile : unit -> unit
Public Sub LockServerFile ()

Remarks

This method applies only to documents stored on a server that is running Microsoft SharePoint Server 2010.

Applies to