Condividi tramite


SqlBatchCommandCollection.SetBatchCommand(Int32, DbBatchCommand) Metodo

Definizione

Imposta l'oggetto SqlBatchCommand in corrispondenza dell'indice specificato su un nuovo valore.

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)

Parametri

index
Int32

Indice in cui deve trovarsi l'oggetto SqlBatchCommand .

batchCommand
DbBatchCommand

Si applica a