LOTUSSCRIPT/COM/OLE CLASSES


LockProvisional method
Example

Locks an agent provisionally.

Note This method is new with Release 6.

Defined in

NotesAgent

Syntax

flag = notesAgent.LockProvisional( [ name ] )

Parameters

name


Return value

flag

Usage

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

The following actions occur depending on the current lock status:


If the agent is modified by another user before the lock can be placed, this method raises an error.

Language cross-reference

lockProvisional method in Java Agent class

Example
See Also