SqlBatchCommandCollection.SetBatchCommand(Int32, DbBatchCommand) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Affecte une nouvelle valeur à l’objet SqlBatchCommand à l’index spécifié.
protected:
override void SetBatchCommand(int index, System::Data::Common::DbBatchCommand ^ batchCommand);
protected override void SetBatchCommand (int index, System.Data.Common.DbBatchCommand batchCommand);
override this.SetBatchCommand : int * System.Data.Common.DbBatchCommand -> unit
Protected Overrides Sub SetBatchCommand (index As Integer, batchCommand As DbBatchCommand)
Paramètres
- index
- Int32
Index où l’objet SqlBatchCommand doit se trouver.
- batchCommand
- DbBatchCommand