_Document.LockServerFile Method

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

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

Syntax

'Declaration
Sub LockServerFile
'Usage
Dim instance As _Document

instance.LockServerFile()
void LockServerFile()

Remarks

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

See Also

Reference

_Document Interface

_Document Members

Microsoft.Office.Interop.Word Namespace