SqlDataReader.Depth Propriedade

Definição

Obtém um valor que indica a profundidade de aninhamento da linha atual.Gets a value that indicates the depth of nesting for the current row.

public:
 virtual property int Depth { int get(); };
public:
 property int Depth { int get(); };
public override int Depth { get; }
public int Depth { get; }
member this.Depth : int
Public Overrides ReadOnly Property Depth As Integer
Public ReadOnly Property Depth As Integer

Valor da propriedade

Int32

A profundidade de aninhamento da linha atual.The depth of nesting for the current row.

Implementações

Comentários

A tabela mais externa tem uma profundidade de zero.The outermost table has a depth of zero. O Provedor de Dados .NET Framework para SQL Server não dá suporte a aninhamento e sempre retorna zero.The .NET Framework Data Provider for SQL Server does not support nesting and always returns zero.

Aplica-se a