DB2ResultSet Methods
The methods of the DB2ResultSet class are listed here.
| Method | Description |
|---|---|
Close |
Closes the DB2ResultSet object. |
CreateRecord |
Creates a DB2UpdatableRecord object. |
Delete |
Deletes the current row. |
Dispose |
Closes the DB2ResultSet instance. |
GetBoolean |
Gets the value of the specified column as a Boolean value. |
GetByte |
Gets the value of the specified column as a byte. |
GetBytes |
Reads a stream of bytes from the specified column offset into the buffer as an array, starting at the given buffer offset. |
GetChar |
Gets the value of the specified column as a character. |
GetChars |
Reads a stream of characters from the specified column offset into the buffer as an array, starting at the given buffer offset. |
GetDataTypeName |
Gets the name of the source data type. |
GetDate |
Gets the value of the specified column as a DateTime object. |
GetDateTime |
Gets the value of the specified column as a DateTime object. |
GetDB2®Binary |
Creates an instance of a DB2Binary object from the column data. |
GetDB2Date |
Creates an instance of a DB2Date object from the column data. |
GetDB2DateTime |
Creates an instance of a DB2DateTime object from the column data. |
GetDB2Decimal |
Creates an instance of a DB2Decimal object from the column data. |
GetDB2DecimalFloat |
Creates an instance of a DB2DecimalFloat object from the column data |
GetDB2Double |
Creates an instance of a DB2Double object from the column data. |
GetDB2Int16 |
Creates an instance of a DB2Int16 object from the column data. |
GetDB2Int32 |
Creates an instance of a DB2Int32 object from the column data. |
GetDB2Int64 |
Creates an instance of a DB2Int64 object from the column data. |
GetDB2Real |
Creates an instance of a DB2Real object from the column data. |
GetDB2Real370 |
Creates an instance of a DB2Real370 object from the column data. |
GetDB2RowId |
Creates an instance of a DB2RowId object from the column data. |
GetDB2String |
Creates an instance of a DB2String object from the column data. |
GetDB2Time |
Creates an instance of a DB2Time object from the column data. |
GetDB2TimeStamp |
Creates an instance of a DB2TimeStamp object from the column data. |
GetDB2Xml |
Creates an instance of a DB2Xml object from the column data. |
GetDB2XsrObjectId |
Creates an instance of a DB2XsrObjectId object from the column data. |
GetDecimal |
Gets the value of the specified column as a decimal. |
GetDouble |
Gets the value of the specified column as a double-precision floating point number. |
GetFieldType |
Gets the Type that is the data type of the object. |
GetFloat |
Gets the value of the specified column as a single-precision floating-point number. |
GetGuid |
Not supported. |
GetInt16 |
Gets the value of the specified column as a 16-bit signed integer. |
GetInt32 |
Gets the value of the specified column as a 32-bit signed integer. |
GetInt64 |
Gets the value of the specified column as a 64-bit signed integer. |
GetName |
Gets the name of the specified column. |
GetOrdinal |
Gets the column ordinal, given the name of the column. |
GetSchemaTable |
Returns a DataTable that describes the column metadata of the DB2ResultSet Class . |
GetString |
Gets the value of the specified column as a string. |
GetTime |
Gets the value of the specified column as a TimeSpan object. |
GetTimeSpan |
Gets the value of the specified column as a TimeSpan object. |
GetValue |
Gets the value of the column at the specified ordinal in its native format. |
GetValues |
Gets all the attribute columns in the current row. |
GetXmlReader |
Returns an XmlReader from a character, binary, or DB2Type.XML column. |
GetXmlSaxReader |
Not supported. |
GetXmlSchemaSet |
Overloaded. Returns an XmlSchemaSet object of all the schema documents for the given DB2XsrObjectId structure. |
Insert |
Inserts a new row in the table. |
IsDBNull |
Gets a value that indicates whether the column contains nonexistent or missing values. |
IsSetAsDefault |
Determines if the value at the specified column ordinal position was last modified by the SetDefault function. |
NextResult |
Advances the DB2ResultSet to the next result, when reading the results of batch SQL statements. |
Read |
Advances the DB2ResultSet to the next record. |
ReadAbsolute |
Moves the DB2ResultSet to the record that is indicated by the specified position, if the cursor is scrollable. |
ReadFirst |
Moves the DB2ResultSet to the first record, if the cursor is scrollable. |
ReadLast |
Moves the DB2ResultSet to the last record, if the cursor is scrollable. |
ReadPrevious |
Moves the DB2ResultSet to the previous record, if the cursor is scrollable. |
ReadRelative |
Moves the DB2ResultSet to the record that is a specified number of positions away, if the cursor is scrollable. |
SetBoolean |
Not supported. |
SetByte |
Not supported. |
SetBytes |
Overwrites the column with a new value. |
SetChar |
Overwrites the column with a new value. |
SetChars |
Overwrites the column with a new value. |
SetDate |
Overwrites the column with a new value. |
SetDateTime |
Overwrites the column with a new value. |
SetDB2Binary |
Overwrites the column with a new value. |
SetDB2Date |
Overwrites the column with a new value. |
SetDB2DateTime |
Sets a new date and time value to a column. |
SetDB2Decimal |
Overwrites the column with a new value. |
SetDB2DecimalFloat |
Overwrites the column with a new value. |
SetDB2Double |
Overwrites the column with a new value. |
SetDB2Int16 |
Overwrites the column with a new value. |
SetDB2Int32 |
Overwrites the column with a new value. |
SetDB2Int64 |
Overwrites the column with a new value. |
SetDB2Real |
Overwrites the column with a new value. |
SetDB2Real370 |
Overwrites the column with a new value. |
SetDB2String |
Overwrites the column with a new value. |
SetDB2Time |
Overwrites the column with a new value. |
SetDB2TimeStamp |
Overwrites the column with a new value. |
SetDB2Xml |
Overwrites the column with a new value. |
SetDecimal |
Overwrites the column with a new value. |
SetDefault |
Overwrites the column with a new value. |
SetDouble |
Overwrites the column with a new value. |
SetFloat |
Overwrites the column with a new value. |
SetGuid |
Not supported. |
SetInt16 |
Overwrites the column with a new value. |
SetInt32 |
Overwrites the column with a new value. |
SetInt64 |
Overwrites the column with a new value. |
SetNull |
Overwrites the column with a new value. |
SetString |
Overwrites the column with a new value. |
SetTime |
Overwrites the column with a new value. |
SetTimeSpan |
Overwrites the column with a new value. |
SetValue |
Overwrites the column with a new value. |
SetValues |
Overwrites columns with new values. |
Update |
Sends the pending updates for the current record to the underlying row on the database server. |