Partager via


AdoDotNetSchemaReader.SchemaTable, propriété

Obtient l'objet DataTable qui représente le schéma d'DbDataReader passé au constructeur d'AdoDotNetSchemaReader.

Espace de noms :  Microsoft.VisualStudio.Data.Framework.AdoDotNet
Assembly :  Microsoft.VisualStudio.Data.Framework (dans Microsoft.VisualStudio.Data.Framework.dll)

Syntaxe

'Déclaration
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

Valeur de propriété

Type : DataTable
Retourne une instance d'objet DataTable représentant la table de schéma.

Exceptions

Exception Condition
InvalidOperationException

Le lecteur de données est fermé, ou la valeur d'index actuelle de ligne est pas valide.

Notes

Cette méthode appelle DbDataReader.GetSchemaTable.

Sécurité .NET Framework

Voir aussi

Référence

AdoDotNetSchemaReader Classe

Microsoft.VisualStudio.Data.Framework.AdoDotNet, espace de noms

DataReader

GetSchemaTable