Share via


SfcCollection<T, K, ParentT>.IEnumerable.GetEnumerator Method

Gets 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
Private Function GetEnumerator As IEnumerator 
    Implements IEnumerable.GetEnumerator
'Usage
Dim instance As SfcCollection 
Dim returnValue As IEnumerator 

returnValue = CType(instance, IEnumerable).GetEnumerator()
IEnumerator IEnumerable.GetEnumerator()
private:
virtual IEnumerator^ GetEnumerator() sealed = IEnumerable::GetEnumerator
private abstract GetEnumerator : unit -> IEnumerator  
private override GetEnumerator : unit -> IEnumerator
JScript supports the use of explicit interface implementations, but not the declarations of new ones.

Return Value

Type: System.Collections.IEnumerator
An IEnumerator object.

Implements

IEnumerable.GetEnumerator()

See Also

Reference

SfcCollection<T, K, ParentT> Class

Microsoft.SqlServer.Management.Sdk.Sfc Namespace