@SetDBQuota
Syntax
@SetDBQuota(DBHANDLE1;FNLISTQUOTA2);
Description
Sets the database quota of the database identified by DBHANDLE DBHANDLE1 to the values specified in FNLIST FNLISTQUOTA2.
Element No. Meaning
1 Maximum size of the database in kB
2 Actual size of the database in kB
3 Database quota in kB
4 Database warning threshold in kB
IMPORTANT:
Elements 1 and 2 cannot be changed and are therefore ignored.
Return:
TRUE Success
@Error Error
Example: @SetDBQuota(DBHANDLE1;FNLISTQUOTA2):
DBHANDLE1:=@OpenDB("TEST.NSF");
FNLISTQUOTA2:=0:0:10240:10200;
Ret:=@SetDBQuota(DBHANDLE1;FNLISTQUOTA2);
@LogReport(Ret);
DBHANDLE1:=@CloseDB(DBHANDLE1);
The database is opened, the database quota is set to 10 MB, the database warning threshold is set to 10200 kB, and the database is then closed again.
Note : This text was machine-translated and may contain inaccuracies.
