Freigeben über


SqlBatchCommandCollection.SetBatchCommand(Int32, DbBatchCommand) Methode

Definition

Legt das SqlBatchCommand-Objekt am angegebenen Index auf einen neuen Wert fest.

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)

Parameter

index
Int32

Der Index, an dem sich das SqlBatchCommand Objekt befinden soll.

batchCommand
DbBatchCommand

Gilt für: