dotConnect for DB2 Documentation
Devart.Data.DB2 Namespace / DB2DataReader Class / Depth Property

In This Topic
    Depth Property (DB2DataReader)
    In This Topic
    Gets a value indicating the depth of nesting for the current row.
    Syntax
    'Declaration
     
    Public Overrides ReadOnly Property Depth As Integer
    public override int Depth {get;}

    Property Value

    Depth of nesting for the current row.
    Remarks
    You can obtain nested tables from queries using methods GetValue and GetData. In this case use this property to obtain depth of current result set. Root result set has depth 0.
    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