DbDataReader.GetSchemaTable Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a DataTable that describes the column metadata of the DbDataReader.
Returns null
if the executed command returned no resultset, or after NextResult() returns false
.
public:
virtual System::Data::DataTable ^ GetSchemaTable();
public:
abstract System::Data::DataTable ^ GetSchemaTable();
public virtual 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
A DataTable that describes the column metadata.
Implements
Exceptions
The DbDataReader is closed.
The column index is out of range.
.NET Core and .NET 5+ only: In all cases.
Applies to
See also
GitHub पर हमारे साथ सहयोग करें
इस सामग्री का स्रोत GitHub पर पाया जा सकता है, जहाँ आप समस्याएँ बना और समीक्षा भी कर सकते हैं और अनुरोध खींच सकते हैं. अधिक जानकारी के लिए, हमारे योगदानकर्ता गाइड देखें.