Share via


TSqlCompilationErrorCollection.GetEnumerator Method

Returns an enumerator to enumerate through the TSqlCompilationErrorCollection.

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

Syntax

'Declaration
Public Function GetEnumerator As IEnumerator(Of TSqlCompilationError)
'Usage
Dim instance As TSqlCompilationErrorCollection
Dim returnValue As IEnumerator(Of TSqlCompilationError)

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

Implements

IEnumerable<T>.GetEnumerator()