Share via


SfcReferenceCollection<K, T, S>.GetEnumerator Method

Returns an enumerator that iterates through a collection.

Namespace:  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly:  Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Syntax

'Declaration
Public Function GetEnumerator As IEnumerator
'Usage
Dim instance As SfcReferenceCollection 
Dim returnValue As IEnumerator 

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

Return Value

Type: System.Collections.IEnumerator
An IEnumerator object that can be used to iterate through the collection.

Implements

IEnumerable.GetEnumerator()

See Also

Reference

SfcReferenceCollection<K, T, S> Class

Microsoft.SqlServer.Management.Sdk.Sfc Namespace