SfcCollection<T, K, ParentT>.GetEnumerator Method

Returns an enumerator that can iterate the collection. Do not reference this member directly in your code. It supports the SQL Server infrastructure.

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

Syntax

'Declaration
Public MustOverride Function GetEnumerator As IEnumerator(Of T)
'Usage
Dim instance As SfcCollection 
Dim returnValue As IEnumerator(Of T)

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

Return Value

Type: System.Collections.Generic.IEnumerator<T>
An IEnumerator<T> object.

Implements

IEnumerable<T>.GetEnumerator()

See Also

Reference

SfcCollection<T, K, ParentT> Class

Microsoft.SqlServer.Management.Sdk.Sfc Namespace