Share via


SqlBatchCommandCollection.GetEnumerator Method

Definition

Returns the SqlBatchCommand object at the specified index in the collection.

public:
 override System::Collections::Generic::IEnumerator<System::Data::Common::DbBatchCommand ^> ^ GetEnumerator();
public override System.Collections.Generic.IEnumerator<System.Data.Common.DbBatchCommand> GetEnumerator ();
override this.GetEnumerator : unit -> System.Collections.Generic.IEnumerator<System.Data.Common.DbBatchCommand>
Public Overrides Function GetEnumerator () As IEnumerator(Of DbBatchCommand)

Returns

The DbBatchCommand object at the specified index in the collection.

Applies to