Method

ODBCDatabase.GetConnectionAttribute


Warning

This item was deprecated in version 2019r2. Please use ODBCDatabase.ConnectionAttribute as a replacement.

Description

Returns the current setting of a connection attribute. Returns a Variant that contains either a String or an Integer, based on the attribute.

Sample code

Obtaining an attribute:

Dim currentCatalog As Variant
currentCatalog = db.GetConnectionAttribute(ODBCConstant.SQL_CURRENT_QUALIFIER)

Compatibility

All project types on all supported operating systems.