Verifying an unsuccessful failover

If the connection to the secondary server is not established, the Adaptive Server OLE DB Provider also returns “E_FAIL” for the function return HRESULT. However, the dwMinor field in ERRORINFO (returned from IErrorRecords::GetBasicErrorInfo) should be “30131”, and the description returned from IErrorInfo::GetDescription should be:

“Connection to Sybase server has been lost, connection
to the next available HA server also failed. All
transactions have been rolled back.”