[][src]Function odbc_sys::SQLConnectW

pub unsafe extern "system" fn SQLConnectW(
    connection_handle: SQLHDBC,
    server_name: *const SQLWCHAR,
    name_length_1: SQLSMALLINT,
    user_name: *const SQLWCHAR,
    name_length_2: SQLSMALLINT,
    authentication: *const SQLWCHAR,
    name_length_3: SQLSMALLINT
) -> SQLRETURN

SQLConnect establishes connections to a driver and a data source. The connection handle references storage of all information about the connection to the data source, including status, transaction state, and error information.

Returns

SQL_SUCCESS, SQL_SUCCESS_WITH_INFO, SQL_ERROR, SQL_INVALID_HANDLE, or SQL_STILL_EXECUTING