OleDbDataReader.IsClosed Property


Indicates whether the data reader is closed.

 property bool IsClosed { bool get(); };
public bool IsClosed { get; }
member this.IsClosed : bool
Public ReadOnly Property IsClosed As Boolean

Property Value

true if the OleDbDataReader is closed; otherwise, false.


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

Applies to

See also