GetEnumerator-Methode

Returns an IEnumerator interface that allows you to iterate through the objects in the collection.

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

Syntax

'Declaration
Public Overridable Function GetEnumerator As IEnumerator
'Usage
Dim instance As SmoCollectionBase
Dim returnValue As IEnumerator

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

Rückgabewert

Typ: System.Collections. . :: . .IEnumerator
An IEnumerator system interface for the referenced collection object.

Implementiert

IEnumerable. . :: . .GetEnumerator() () () ()

Hinweise

Der Namespace, die Klasse oder das Element wird nur in der Version 2.0 von Microsoft .NET Framework unterstützt.