OdbcError Members

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

The following tables list the members exposed by the OdbcError type.

  Name Description
Public property Message Gets a short description of the error.
Public property NativeError Gets the data source-specific error information.
Public property Source Gets the name of the driver that generated the error.
Public property SQLState Gets the five-character error code that follows the ANSI SQL standard for the database.

(see also Protected Methods )
  Name Description
Public method Equals  Overloaded. Determines whether two Object instances are equal. (Inherited from Object.)
Public method GetHashCode  Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.)
Public method GetType  Gets the Type of the current instance. (Inherited from Object.)
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (Inherited from Object.)
Public method ToString Overridden. Gets the complete text of the error message.

  Name Description
Protected method Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Protected method MemberwiseClone  Creates a shallow copy of the current Object. (Inherited from Object.)