DbDataReader::GetSchemaTable Method ()

 

Returns a DataTable that describes the column metadata of the DbDataReader.

Namespace:   System.Data.Common
Assembly:  System.Data (in System.Data.dll)

public:
virtual DataTable^ GetSchemaTable()

Return Value

Type: System.Data::DataTable^

A DataTable that describes the column metadata.

Exception Condition
InvalidOperationException

The SqlDataReader is closed.

.NET Framework
Available since 2.0
Return to top
Show: