共用方式為


DocumentBase.LockServerFile Method

Definition

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

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

Remarks

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

Applies to