Creates an instance of a DB2Int32 object from column data.
[Visual Basic]
Public Function GetDB2Int32( _
ByVal i As Integer _
) As IBM.Data.DB2Types.DB2Int32
[C#]
public IBM.Data.DB2Types.DB2Int32 GetDB2Int32 (int i)
[C++]
public: IBM.Data.DB2Types.DB2Int32 GetDB2Int32(
int i
);
[JScript]
public function GetDB2Int32(
i : int
) : IBM.Data.DB2Types.DB2Int32;
A DB2Int32 object representing the column value.
No conversions are performed.
| DB2®Type Data Type | DB2 Data Type | Informix® Data Type |
|---|---|---|
| DB2Int32 | INT | INT, INTEGER, SERIAL |
| Exception type | Condition |
|---|---|
| InvalidCastException | The specified cast is not valid. |
| DB2Exception | Invalid conversion. |