Share via


DacCompilationErrorCollection.GetEnumerator Method

Returns an enumerator that iterates through the DacCompilationErrorCollection object.

Namespace:  Microsoft.SqlServer.Management.Dac
Assembly:  Microsoft.SqlServer.Management.Dac (in Microsoft.SqlServer.Management.Dac.dll)

Syntax

'Declaration
Public Function GetEnumerator As IEnumerator(Of DacCompilationError)
'Usage
Dim instance As DacCompilationErrorCollection
Dim returnValue As IEnumerator(Of DacCompilationError)

returnValue = instance.GetEnumerator()
public IEnumerator<DacCompilationError> GetEnumerator()
public:
virtual IEnumerator<DacCompilationError^>^ GetEnumerator() sealed
abstract GetEnumerator : unit -> IEnumerator<DacCompilationError> 
override GetEnumerator : unit -> IEnumerator<DacCompilationError> 
public final function GetEnumerator() : IEnumerator<DacCompilationError>

Return Value

Type: System.Collections.Generic.IEnumerator<DacCompilationError>
A [T:System.Collections.Generic.IEnumerator<DacCompilationError>] value that specifies an enumerated list of objects.

Implements

IEnumerable<T>.GetEnumerator()