Uredi

Deli z drugimi prek


IDataReader.IsClosed Property

Definition

Gets a value indicating 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 data reader is closed; otherwise, false.

Remarks

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

Applies to