_Document.LockServerFile Method

Definition

Locks the file on the server preventing 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 running Microsoft Office SharePoint Server 2007.

Applies to