SqlBatchCommandCollection.SetBatchCommand(Int32, DbBatchCommand) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets the SqlBatchCommand object at the specified index to a new value.
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)
Parameters
- index
- Int32
The index where the SqlBatchCommand object should be located.
- batchCommand
- DbBatchCommand