Share via


UrnCollection.GetEnumerator Method

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>

Return Value

Type: System.Collections.Generic.IEnumerator<Urn>
[T:System.Collections.Generic.IEnumerator<T>]

Implements

IEnumerable<T>.GetEnumerator()