This function calls SQLDriverConnect with the supplied connection string and immediately disconnects after the call.
As described in the SQLDriverConnect in connection string
Returns the SQL return code (or exception on an ODBC error).
sql_data_sources, sql_columns sql_primary_keys, sql_gettypeinfo, sql_statistics, sql_tables.