DB2 10.5 for Linux, UNIX, and Windows

DB2DataReader.IsClosed Property

Indicates whether the DB2DataReader is closed.

Namespace:
IBM.Data.DB2
Assembly:
IBM.Data.DB2 (in IBM.Data.DB2.dll)

Syntax

[Visual Basic]
Public ReadOnly Property IsClosed As Boolean
[C#]
public bool IsClosed {get;}
[C++]
public: __property bool get_IsClosed();
[JScript]
public function get IsClosed() : Boolean;

Property value

true if the DB2®DataReader is closed; otherwise, false.

Remarks

IsClosed and RecordsAffected are the only properties that you can call after the DB2DataReader is closed.