DataReaderWrapper.GetSchemaTable Method
Returns a DataTable that describes the column metadata of the IDataReader.
Namespace: Microsoft.Practices.EnterpriseLibrary.Data
Assembly: Microsoft.Practices.EnterpriseLibrary.Data (in Microsoft.Practices.EnterpriseLibrary.Data.dll)
Syntax
'Declaration
Public Overridable Function GetSchemaTable As DataTable
public virtual DataTable GetSchemaTable()
public:
virtual DataTable^ GetSchemaTable()
public function GetSchemaTable() : DataTable
Return Value
A DataTable that describes the column metadata.
Implements
Exceptions
Exception | Condition |
---|---|
System.InvalidOperationException | The IDataReader is closed. |