SqlBatchCommandCollection.SetBatchCommand(Int32, DbBatchCommand) Metoda
Definicja
Ważne
Niektóre informacje odnoszą się do produktu w wersji wstępnej, który może zostać znacząco zmodyfikowany przed wydaniem. Firma Microsoft nie udziela żadnych gwarancji, jawnych lub domniemanych, w odniesieniu do informacji podanych w tym miejscu.
SqlBatchCommand Ustawia obiekt w określonym indeksie na nową wartość.
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)
Parametry
- index
- Int32
Indeks, SqlBatchCommand w którym powinien znajdować się obiekt.
- batchCommand
- DbBatchCommand