共用方式為


IEnumerable(SfcDependencyNode).GetEnumerator 方法

不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。

命名空間:  Microsoft.SqlServer.Management.Sdk.Sfc
組件:  Microsoft.SqlServer.Management.Sdk.Sfc (在 Microsoft.SqlServer.Management.Sdk.Sfc.dll 中)

語法

'宣告
Private Function GetEnumerator As IEnumerator(Of SfcDependencyNode)
    Implements IEnumerable(Of SfcDependencyNode).GetEnumerator
'用途
Dim instance As SfcDependencyEngine..::..DependencyNodeEnumerator
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 支援明確介面實作的使用,但不支援新介面實作的宣告。

傳回值

型別:System.Collections.Generic. . :: . .IEnumerator< (Of < ( <'SfcDependencyNode> ) > ) >
An IEnumerator<(Of <(<'T>)>)> object that can be used to iterate through the collection.

實作

IEnumerable< (Of < ( <'T> ) > ) >. . :: . .GetEnumerator() () () ()