Freigeben über


GetEnumerator-Methode

Returns a generic IEnumerator interface.

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

Syntax

'Declaration
Public Function GetEnumerator As IEnumerator(Of Urn)
'Usage
Dim instance As UrnCollection
Dim returnValue As IEnumerator(Of Urn)

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

Rückgabewert

Typ: System.Collections.Generic. . :: . .IEnumerator< (Of < ( <'Urn> ) > ) >
[T:System.Collections.Generic.IEnumerator<T>]

Implementiert

IEnumerable< (Of < ( <'T> ) > ) >. . :: . .GetEnumerator() () () ()