dotConnect for SQL Server Documentation
Devart.Common Namespace / DbDataReaderBase Class / IsClosed Property

In This Topic
    IsClosed Property (DbDataReaderBase)
    In This Topic
    Gets a value indicating whether the data reader is closed.
    Syntax
    'Declaration
     
    Public Overrides ReadOnly Property IsClosed As Boolean
    public override bool IsClosed {get;}

    Property Value

    true if the DbDataReaderBase is closed; otherwise, false.
    Remarks
    IsClosed and RecordsAffected are the only properties that you can call after the DbDataReaderBase is closed.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also