Database Vuser Functions (LRD) > Alphabetical List of Functions > lrd_close_connection

lrd_close_connection

Example: lrd_close_connection Access Management Functions

Disconnects (logs out) from the database.

LRDRET lrd_close_connection( LRD_CONNECTION **mpptConnection, long mliOption, int miDBErrorSeverity );

mpptConnection A pointer to a pointer to an LRD_CONNECTION structure.
mliOption One of the Close Connection Options.
miDBErrorSeverity The Error Severity Levels of a failure in a database routine.

The lrd_close_connection function closes the specified connection to the database.

For more details refer to the Function Header File lrd.h in the include directory.

Return Values

See LRD Return Values.

Parameterization

You cannot use standard parameterization for any arguments in this function.