DB2Error overview
Property | Description |
---|---|
Message | Gets a short description of the error. |
NativeError | Gets the error information. |
RowNumber | Gets an integer value indicating the number of the command in the series of chained commands that caused the error. This property is valid whenever multiple SQL statements are executed as part of a single operation. For example, this property is valid when chaining is active, during a bulk copy operation, and on Update operations by a DB2DataAdapter. |
Source | Gets the name of the driver that generated the error. The value is currently IBM®.Data.DB2. |
SQLState | Gets the five-character error code that follows the ANSI SQL standard for the database. |
Method | Description |
---|---|
Equals (inherited from Object) | Overloaded. Determines whether two Object instances are equal. |
GetHashCode (inherited from Object) | Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. |
GetType (inherited from Object) | Gets the Type of the current instance. |
ToString | Overridden. Gets the complete text of the error message. |
Method | Description |
---|---|
Finalize (inherited from Object) | Overridden. Allows an Object to attempt to free resources and perform other cleanup operations
before the Object is reclaimed by garbage collection. In C# and Microsoft(R) Visual C++(R), finalizers are expressed using destructor syntax. |
MemberwiseClone (inherited from Object) | Creates a shallow copy of the current Object. |