LOTUSSCRIPT/COM/OLE CLASSES


DelayUpdates property
Example

Read-write. Indicates whether updates to a server are delayed (batched) for better performance.

Defined in

NotesDatabase

Data type

Boolean

Syntax

To get: flag = notesDatabase.DelayUpdates

To set: notesDatabase.DelayUpdates = flag

Legal values


Usage

If DelayUpdates is False, the script waits for updates to the server to be posted. If you set DelayUpdates to True, server updates are cached and the script proceeds immediately. At a convenient time, the cached updates are posted. This results in better performance, but there may be a risk of losing the cached updates in the event of a crash. This method applies to Save and Remove operations on documents.

The database must be open to use this property.

Language cross-reference

IsDelayUpdates in Java Database class

Example