SqlDataReader.Depth 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得值,這個值表示目前數據列的巢狀深度。
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 不支援巢狀結構,且總是回傳零。