LOTUSSCRIPT/COM/OLE CLASSES


SizeWarning property
Example

Read-write. The size warning threshold of a database, in kilobytes.

Note This property is new with Release 6.

Defined in

NotesDatabase

Data type

Integer

Syntax

To get: warning% = notesDatabase.SizeWarning

To set: notesDatabase.SizeWarning = warning%

Usage

The size warning threshold for a database specifies the amount of disk space that the server administrator is willing to provide for that database before displaying a warning; therefore, the SizeWarning property can only be set by a script that has administrator access to the server on which the database resides.

If there is no size warning threshold for the database, this property returns 0.

In the Administration Client, use the "Set Quotas" tool to set the size warning.

The database does not need to be open to use this property.

Language cross-reference

SizeWarning in Java Database class

Example