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 : IDataReaderObjet d'IDataReader contenant le jeu de résultats de données, plus le schéma.
command
Type : IDbCommandl'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
- Confiance totale accordée à l'appelant immédiat. Ce membre ne peut pas être utilisé par du code d'un niveau de confiance partiel. Pour plus d'informations, voir Utilisation de bibliothèques à partir de code d'un niveau de confiance partiel.