Partager via


SqlBatchCommandCollection.SetBatchCommand(Int32, DbBatchCommand) Méthode

Définition

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

S’applique à