SizeQuota (Database - Java)

Read-Write. The size quota of a database, in kilobytes.

Defined in

Database

Data type

int

Syntax

public int getSizeQuota()
    throws NotesException
public void setSizeQuota(int quota)
    throws NotesException

Usage

The size quota for a database specifies the amount of disk space that the server administrator is willing to provide for the database. Therefore, the SizeQuota property can only be set by a program that has administrator access to the server on which the database resides. The size quota is not the same as the size limit that a user specifies when creating a new database.

If the database has no size quota, this property returns 0.

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

Example