Remarque
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de vous connecter ou de modifier des répertoires.
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de modifier des répertoires.
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 : System.Data.IDataReader
Objet d'IDataReader contenant le jeu de résultats de données, plus le schéma.
- command
Type : System.Data.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
- 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, consultez Utilisation de bibliothèques à partir de code d'un niveau de confiance partiel.