共用方式為


DbBatchCommandCollection.SetBatchCommand(Int32, DbBatchCommand) 方法

定義

將指定索引處的 DbBatchCommand 物件設定為新值。

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)

參數

index
Int32

DbBatchCommand 物件所在的索引。

batchCommand
DbBatchCommand

適用於