Export (0) Print
Expand All

IDataReader.IsClosed Property

Gets a value indicating whether the data reader is closed.

[Visual Basic]
ReadOnly Property IsClosed As Boolean
[C#]
bool IsClosed {get;}
[C++]
__property bool get_IsClosed();
[JScript]
function get IsClosed() : 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.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework

See Also

IDataReader Interface | IDataReader Members | System.Data Namespace

Show:
© 2014 Microsoft