System.Data.Odbc.OdbcError Class

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

See Also: OdbcError Members

Syntax

public sealed class OdbcError

Remarks

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.

Requirements

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