Partilhar via


SqlBatchCommandCollection.SetBatchCommand(Int32, DbBatchCommand) Método

Definição

Define o objeto SqlBatchCommand no índice especificado para um novo valor.

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)

Parâmetros

index
Int32

O índice em que o SqlBatchCommand objeto deve estar localizado.

batchCommand
DbBatchCommand

Aplica-se a