_Document.LockServerFile 方法

定义

在服务器上锁定文件,以避免任何其他人进行编辑。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 ()

注解

此方法仅适用于在运行 Microsoft Office SharePoint Server 2007 的服务器上存储的文档。This method applies only to documents stored on a server running Microsoft Office SharePoint Server 2007.

适用于