DB2®DataReader Properties

The properties of the DB2DataReader class are listed here. For a complete list of DB2DataReader class members, see the DB2DataReader Members topic.

Public Properties

Property Description
public property BlockForNRows Controls the number of rows to be returned to client in a single fetch request
public property Depth Gets a value that indicates the depth of nesting for the current row.
public property FieldCount Gets the number of columns in the current row.
public property HasRows Gets a value that indicates whether the DB2DataReader contains one or more rows.
public property IsClosed Indicates whether the DB2DataReader is closed.
public property This Overloaded. Gets the value of a column in its native format.

In C#, this property is the indexer for the DB2DataReader class.

public property RecordsAffected Gets the number of rows that are changed, inserted, or deleted by execution of the SQL statement.