GetSchemaTable Method

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

Syntax

DataTable GetSchemaTable( )

Return Value

A DataTable that describes the column metadata.

Implements

IDataReader.GetSchemaTable

Usage

This method returns metadata about each column in the following order:

  • ColumnName

  • ColumnOrdinal

  • ColumnSize

  • DataType

  • ProviderType

  • IsLong

  • AllowDBNull

  • IsReadOnly

  • IsRowVersion

  • IsUnique

  • IsKeyColumn

  • IsAutoIncrement

  • BaseSchemaName

  • BaseCatalogName

  • BaseTableName

  • BaseColumnName

For more information about these columns, see the .NET Framework documentation for SqlDataReader.GetSchemaTable.

Related concepts
Obtain DataReader Schema Information