Método GetEnumerator

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

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

Sintaxe

'Declaração
Public Overridable Function GetEnumerator As IEnumerator
'Uso
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

Valor de retorno

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

Implementa

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

Comentários

Só há suporte para esse namespace, classe ou membro na versão 2.0 do Microsoft .NET Framework.