Function odbc_sys::SQLDataSources

source ·
pub unsafe extern "system" fn SQLDataSources(
    environment_handle: HEnv,
    direction: FetchOrientation,
    server_name: *mut Char,
    buffer_length_1: SmallInt,
    name_length_1: *mut SmallInt,
    description: *mut Char,
    buffer_length_2: SmallInt,
    name_length_2: *mut SmallInt
) -> SqlReturn
Expand description

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

Returns

SUCCESS, SUCCESS_WITH_INFO, ERROR, INVALID_HANDLE, or SQL_NO_DATA