SqlDataReader.Depth プロパティ

定義

現在の行の入れ子の深さを示す値を取得します。

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

プロパティ値

現在の行の入れ子の深さ。

実装

注釈

最も外側のテーブルは深さ 0 です。 SQL Serverの.NET Framework データ プロバイダーは入れ子をサポートせず、常に 0 を返します。

適用対象

こちらもご覧ください