Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Gets the DataTable object that represents the schema of the DbDataReader passed into the constructor of the AdoDotNetSchemaReader.
Namespace: Microsoft.VisualStudio.Data.Framework.AdoDotNet
Assembly: Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)
Syntax
'Declaration
Protected ReadOnly Property SchemaTable As DataTable
protected DataTable SchemaTable { get; }
protected:
property DataTable^ SchemaTable {
DataTable^ get ();
}
member SchemaTable : DataTable with get
function get SchemaTable () : DataTable
Property Value
Type: System.Data.DataTable
Returns a DataTable object instance representing the schema table.
Exceptions
| Exception | Condition |
|---|---|
| InvalidOperationException | The data reader is closed, or the current row index value is not valid. |
Remarks
This method calls DbDataReader.GetSchemaTable.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.