System.Data.SqlClient Namespace SqlDataReader Class
Checks the depth of nesting for the current row.
Script |
[ integer variable = ] SqlDataReader.Depth |
variable |
Returns the depth of nesting for the current row. |
The property is read only with a default value of 0.
The outermost table has a depth of zero. The SQL Server™ .NET Data Provider does not support nesting and always returns zero.
SqlDataReader Members