Metodo DependencyCollection.GetEnumerator

Gets an enumerator that can iterate through the list of objects.

Spazio dei nomi  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
Public Function GetEnumerator As IEnumerator(Of DependencyCollectionNode)
'Utilizzo
Dim instance As DependencyCollection 
Dim returnValue As IEnumerator(Of DependencyCollectionNode)

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

Valore restituito

Tipo: System.Collections.Generic.IEnumerator<DependencyCollectionNode>
An IEnumerator object value that can be used to iterate through the collection.

Implementa

IEnumerable<T>.GetEnumerator()

Esempi

Generazione di script

Vedere anche

Riferimento

DependencyCollection Classe

Spazio dei nomi Microsoft.SqlServer.Management.Smo