Collapse the table of content
Expand the table of content
Expand Minimize

Document.LockServerFile Method (Word)

Office 2013 and later
GitHub-Mark-64px

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

Locks the file on the server preventing anyone else from editing it.

expression .LockServerFile

expression An expression that returns a Document object.

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

Show:
© 2016 Microsoft