共用方式為


DacCompilationErrorCollection.. 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

'宣告
Private Function GetEnumerator As IEnumerator
    Implements IEnumerable.GetEnumerator
'用途
Dim instance As DacCompilationErrorCollection
Dim returnValue As IEnumerator

returnValue = CType(instance, IEnumerable).GetEnumerator()
IEnumerator IEnumerable.GetEnumerator()
private:
virtual IEnumerator^ GetEnumerator() sealed = IEnumerable::GetEnumerator
private abstract GetEnumerator : unit -> IEnumerator 
private override GetEnumerator : unit -> IEnumerator 
JScript supports the use of explicit interface implementations, but not the declarations of new ones.

Return Value

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

Implements

IEnumerableGetEnumerator()

See Also

Reference

DacCompilationErrorCollection Class

Microsoft.SqlServer.Management.Dac Namespace