The Login_GetDBMSInfo() function retrieves information about the ODBC driver and data source being used.
Login_GetDBMSInfo(ODBC_version, driver_version, DBMS, DBMS_version)
• 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.
An integer indicating whether information was retrieved. The constant STATUS_SUCCESS indicates information was retrieved. Any other value indicates information could not be retrieved.
You must be logged into a SQL data source for the Login_GetDBMSInfo() function to retrieve information.