JAVA/CORBA CLASSES


SizeWarning property
Example

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

Note This property is new with Release 6.5.

Defined in

Database

Data type

long

Syntax

public long getSizeWarning()
   throws NotesException

public void setSizeWarning(long warning)
   throws NotesException

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 LotusScript NotesDatabase class

Example
See Also