Lingua

SqlDataReader.Depth Proprietà

Definizione

Ottiene un valore che indica la profondità di annidamento per la riga corrente.

Per il nuovo sviluppo, usare Microsoft. Data.SqlClient. Questa pagina documenta System.Data.SqlClient.

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

Valore della proprietà

Profondità dell'annidamento per la riga corrente.

Implementazioni

Commenti

La tabella più esterna ha una profondità pari a zero. Il provider di dati framework di .NET per SQL Server non supporta l'annidamento e restituisce sempre zero.

Si applica a

Vedi anche