DBREC
Data Type : Billing
DBREC - Database Billing Record
#include <billing.h>
Definition :
typedef struct {
SESSIONID SessionID;
WORD Action;
char Username[MAXUSERNAME+1];
DWORD DBOpenTime;
TIMEDATE ReplicaID;
} DBREC;
Description :
To create Database billing records, you must include the Database keyword in the notes.ini BillingClass variable on the billing server. This enables the server to write database-related information to the billing message queue which can then be read into the DBREC structure by a Billing add-in server task.
For more information about billing for database activity, see the Domino 5 Administration Help database.
Structure Description
SessionID -- Identifier (ID) of the Domino or Notes session established by the Notes workstation or Domino server that initiated the billing activity, such as opening a database.
Action -- Type of session activity at the time the billing record occurs. Database billing records are written for each of the following activity states:
DBOpenTime -- Elapsed time that a database is open during the session. When a database is opened multiple times within a session, a cumulative value is recorded for the session.
ReplicaID -- Unique replica ID of the open database.
See Also : AGENTREC BILLMSG BILLREC BILL_xxx (actions) DOCUMENT HTTPREQREC MAILREC REPLREC SESSIONREC