Dela via


SfcDependencyEngine.DependencyTreeEnumerator.IEnumerable<SfcDependencyNode>.GetEnumerator Method

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(Of SfcDependencyNode)
    Implements IEnumerable(Of SfcDependencyNode).GetEnumerator
'Usage
Dim instance As SfcDependencyEngine..::..DependencyTreeEnumerator
Dim returnValue As IEnumerator(Of SfcDependencyNode)

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

Return Value

Type: System.Collections.Generic.IEnumerator<SfcDependencyNode>
An IEnumerator<T> object that can be used to iterate through the collection.

Implements

IEnumerable<T>.GetEnumerator()