Freigeben über


AdoDotNetSchemaReader.SchemaTable Property

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
    Get
protected DataTable SchemaTable { get; }
protected:
property DataTable^ SchemaTable {
    DataTable^ get ();
}
member SchemaTable : DataTable
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

See Also

Reference

AdoDotNetSchemaReader Class

Microsoft.VisualStudio.Data.Framework.AdoDotNet Namespace

DataReader

GetSchemaTable