SqlBatchCommandCollection.GetBatchCommand(Int32) 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.
Returns the SqlBatchCommand object at the specified index in the list.
protected:
override System::Data::Common::DbBatchCommand ^ GetBatchCommand(int index);
protected override System.Data.Common.DbBatchCommand GetBatchCommand (int index);
override this.GetBatchCommand : int -> System.Data.Common.DbBatchCommand
Protected Overrides Function GetBatchCommand (index As Integer) As DbBatchCommand
Parameters
- index
- Int32
The index where the SqlBatchCommand object is located.
Returns
The SqlBatchCommand object at the specified index in the list.