SqlBatchCommandCollection.GetBatchCommand(Int32) Method

Definition

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.

Applies to