[−][src]Function odbc::ffi::SQLDataSources
pub unsafe extern "system" fn SQLDataSources(
environment_handle: *mut Env,
direction: FetchOrientation,
server_name: *mut u8,
buffer_length_1: i16,
name_length_1: *mut i16,
description: *mut u8,
buffer_length_2: i16,
name_length_2: *mut i16
) -> 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