Compartilhar via


DbBatchCommandCollection.SetBatchCommand(Int32, DbBatchCommand) Método

Definição

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

protected:
 abstract void SetBatchCommand(int index, System::Data::Common::DbBatchCommand ^ batchCommand);
protected abstract void SetBatchCommand (int index, System.Data.Common.DbBatchCommand batchCommand);
abstract member SetBatchCommand : int * System.Data.Common.DbBatchCommand -> unit
Protected MustOverride Sub SetBatchCommand (index As Integer, batchCommand As DbBatchCommand)

Parâmetros

index
Int32

O índice em que o DbBatchCommand objeto está localizado.

batchCommand
DbBatchCommand

Aplica-se a