Rediger

Del via


DbBatchCommandCollection.SetBatchCommand(Int32, DbBatchCommand) Method

Definition

Sets the DbBatchCommand object at the specified index to a new value.

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)

Parameters

index
Int32

The index where the DbBatchCommand object is located.

batchCommand
DbBatchCommand

Applies to