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

屬性值

這是目前這排巢穴的深度。

實作

備註

最外層的表格深度為零。 .NET Framework Data Provider for SQL Server 不支援巢狀結構,且總是回傳零。

適用於

另請參閱