DbDataReader.GetSchemaTable Method

Definition

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

public:
 virtual System::Data::DataTable ^ GetSchemaTable();
public:
 abstract System::Data::DataTable ^ GetSchemaTable();
public virtual System.Data.DataTable GetSchemaTable ();
public abstract System.Data.DataTable GetSchemaTable ();
abstract member GetSchemaTable : unit -> System.Data.DataTable
override this.GetSchemaTable : unit -> System.Data.DataTable
abstract member GetSchemaTable : unit -> System.Data.DataTable
Public Overridable Function GetSchemaTable () As DataTable
Public MustOverride Function GetSchemaTable () As DataTable

Returns

DataTable

A DataTable that describes the column metadata.

Implements

Exceptions

The column index is out of range.

.NET Core only: This member is not supported.

Applies to

See also