This documentation is archived and is not being maintained.

OdbcDataReader.IsClosed Property

Note: This namespace, class, or member is supported only in version 1.1 of the .NET Framework.

Indicates whether the OdbcDataReader is closed.

[Visual Basic]
Public Overridable ReadOnly Property IsClosed As Boolean  _
   Implements IDataReader.IsClosed
public virtual bool IsClosed {get;}
public: __property virtual bool get_IsClosed();
public function get IsClosed() : Boolean;

Property Value

true if the OdbcDataReader is closed; otherwise, false.




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


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

See Also

OdbcDataReader Class | OdbcDataReader Members | System.Data.Odbc Namespace