[][src]Function odbc::ffi::SQLEndTran

pub unsafe extern "system" fn SQLEndTran(
    handle_type: HandleType,
    handle: *mut Obj,
    completion_type: SqlCompletionType
) -> SQLRETURN

Requests a commit or rollback operation for all active operations on all statements associated with a handle.

Returns

SQL_SUCCESS, SQL_SUCCESS_WITH_INFO, SQL_ERROR, SQL_INVALID_HANDLE, or SQL_STILL_EXECUTING.