Login_GetDBMSInfo()

Examples


The Login_GetDBMSInfo() function retrieves information about the ODBC driver and data source being used.

Syntax

Login_GetDBMSInfo(ODBC_version, driver_version, DBMS, DBMS_version)

Parameters

ODBC_version – A returned string describing the version of ODBC to which the driver manager conforms.

driver_version – A returned string describing the version of the driver used to access the ODBC data source.

DBMS – A returned string describing the DBMS being accessed.

DBMS_version – A returned string describing the version of the DBMS being accessed.

Return value

An integer indicating whether information was retrieved. The constant STATUS_SUCCESS indicates information was retrieved. Any other value indicates information could not be retrieved.

Comments

You must be logged into a SQL data source for the Login_GetDBMSInfo() function to retrieve information.


Documentation Feedback