ODBCEnvironment

ODBCEnvironment — allocates an environment handle.

Synopsis

class ODBCEnvironment ODBCHandle
{
    h;
    handle;
    type;
}
    

Base Classes

ODBCHandle <-- ODBCEnvironment

Description

This class allocates an environment handle. It corresponds to using the value SQL_HANDLE_ENV for the HandleType of the SQLAllocHandle function.

Class Members

These functions are identical to the corresponding C or C++ functions, as noted.

AllocConnection ()

corresponds to SQLAllocConnect.

(The following functions are inherited from: ODBCHandle)

GetDiagRec ()

corresponds to SQLGetDiagRec.