OleDbDataReader.IsClosed Property

Definition

Indicates whether the data reader is closed.

public:
 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.

Remarks

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

Applies to

See also