Skip to content

NSFDbQuotaGethDB

Function : Database
NSFDbQuotaGethDB - Return the database quota given a database handle.

#include <nsfdb.h>
STATUS LNPUBLIC NSFDbQuotaGethDB(

    DBHANDLE  hDB,
    DBQUOTAINFOEXT *QuotaInfo);
Description :

This function returns the specified database quota information given its database handle. This information is also available from the Notes user interface by choosing menu items File - Tools - Server Administration to bring up Domino Administrator. Next, click on the File tab and select a database, then choose Files - Quotas from the menu to see the quota settings dialog.

Parameters : Input : hDB - The handle to the database

Output : (routine) - Return status from this call:

NOERROR - Successfully obtained quota information.

ERR_NO_SERVER_ACCESS - You are not authorized to use the server.

ERR_xxx - Other errors returned by this function and includes errors returned by lower level functions. Call OSLoadString to obtain a string to display to the user.

QuotaInfo - Pointer to the returned DBQUOTAINFOEXT structure.

See Also : DBQUOTAINFOEXT