SQLDBC::Environment::releaseConnection

Prototypes

void SQLDBC::Environment::releaseConnection(SQLDBC_Connection *connection);

Description

Détruit l'objet connection représentant une connexion rattachée à l'environnement courant.

Exemple

#include <SQLDBC.h>

static SQLDBC_IRuntime *hRuntime;
static SQLDBC_Connection *hConnexion;

...
SQLDBC::SQLDBC_Environment hEnvironnement=SQLDBC::SQLDBC_Environment::SQLDBC_Environment(hRuntime);
...
hConnexion=hEnvironnement->createConnection();
if (!hConnexion) ...
hEnvironnement->releaseConnection(hConnexion);
...

Voir aussi

SQLDBC::Environment::createConnection pour construire une connexion. SQLDBC::Connection::setAutoCommit pour fixer état de validation automatique des transactions. SQLDBC::Connection::setSQLMode pour fixer le niveau de comptabilité Sql.