DocumentBase.LockServerFile Method

Definition

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.

Applies to