[][src]Function odbc_sys::SQLDataSources

pub unsafe extern "system" fn SQLDataSources(
    environment_handle: SQLHENV,
    direction: FetchOrientation,
    server_name: *mut SQLCHAR,
    buffer_length_1: SQLSMALLINT,
    name_length_1: *mut SQLSMALLINT,
    description: *mut SQLCHAR,
    buffer_length_2: SQLSMALLINT,
    name_length_2: *mut SQLSMALLINT
) -> SQLRETURN

Returns information about a data source. This function is implemented only by the Driver Manager.

Returns

SQL_SUCCESS, SQL_SUCCESS_WITH_INFO, SQL_ERROR, SQL_INVALID_HANDLE, or SQL_NO_DATA