System.Data.Odbc.OdbcError Class

Collects information relevant to a warning or error returned by the data source.

See Also: OdbcError Members


public sealed class OdbcError


This class is created by the System.Data.Odbc.OdbcDataAdapter whenever an error occurs. Each instance of System.Data.Odbc.OdbcError created by the System.Data.Odbc.OdbcDataAdapter is then managed by the System.Data.Odbc.OdbcErrorCollection class, which in turn is created by the System.Data.Odbc.OdbcException class.

If the severity of the error is too great, the server may close the System.Data.Odbc.OdbcConnection. However, the user can reopen the connection and continue.


Namespace: System.Data.Odbc
Assembly: System.Data (in System.Data.dll)
Assembly Versions: 1.0.5000.0,