.

HCLSoftware Business Partner
Domino Consulting Services
CRUCIAL Notes Tools
+1 212-599-2048

Domino Consulting Services
CRUCIAL Notes Tools
Domino administration
Notes development

Facebook Twitter YouTube
Chat now       
.
ProductsDownloadsNewsAbout usContact


Need a Domino Consultant? Call NotesMail +1 212-599-2048 - HCLSoftware Business Partner

LOTUSSCRIPT/COM/OLE CLASSES


Lock method
Example

Locks a document.

Note This method is new with Release 6.

Defined in

NotesDocument

Syntax

flag = notesDocument.Lock( [ name ] [, provisionalOK ] )

Parameters

name


provisionalOK Return value

flag

Usage

IsDocumentLockingEnabled in NotesDatabase must be True or this method raises an error.

This method:


The following actions occur depending on the current lock status:
If the document is modified by another user before the lock can be placed, this method raises an error.

Language cross-reference

lock method in Java Document class

@DocLock function in formula language

Example
See Also