Database Property

See Also        Applies To

Returns the CdbDatabase object that corresponds to this connection (ODBCDirect workspaces only).

Syntax

CdbDatabaseGetDatabase(VOID);

Remarks

On a CdbConnection object, use the Database property to obtain a reference to a CdbDatabase object that corresponds to the CdbConnection. In DAO, a CdbConnection object and its corresponding CdbDatabase object are simply two different object variable references to the same object. The Database property of a CdbConnection object and the Connection property of a CdbDatabase object make it easier to change connections to an ODBC data source through the Microsoft Jet database engine to use ODBCDirect.