Partager via


AdoDotNetSchemaReader, constructeur (IDataReader, IDbCommand)

Constructeur de classe. Initialise une nouvelle instance de la classe d' AdoDotNetSchemaReader avec IDataReader et IDbCommand objets.

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

Syntaxe

'Déclaration
Public Sub New ( _
    dataReader As IDataReader, _
    command As IDbCommand _
)
public AdoDotNetSchemaReader(
    IDataReader dataReader,
    IDbCommand command
)
public:
AdoDotNetSchemaReader(
    IDataReader^ dataReader, 
    IDbCommand^ command
)
new : 
        dataReader:IDataReader * 
        command:IDbCommand -> AdoDotNetSchemaReader
public function AdoDotNetSchemaReader(
    dataReader : IDataReader, 
    command : IDbCommand
)

Paramètres

  • dataReader
    Type : IDataReader

    Objet d'IDataReader contenant le jeu de résultats de données, plus le schéma.

  • command
    Type : IDbCommand

    l'objet d'IDbCommand encapsulant la commande a exécuté sur la source de données, qui permet à l'implémentation de la méthode d' Terminate pour appeler Cancel sur la commande.

Sécurité .NET Framework

Voir aussi

Référence

AdoDotNetSchemaReader Classe

AdoDotNetSchemaReader, surcharge

Microsoft.VisualStudio.Data.AdoDotNet, espace de noms