EventPropertyCollection.IEnumerable.GetEnumerator 方法

Returns an IEnumerator interface that permits iteration through a collection.

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
Private Function GetEnumerator As IEnumerator 
    Implements IEnumerable.GetEnumerator
用法
Dim instance As EventPropertyCollection 
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 支持使用显式接口实现,但不支持声明新显式接口实现。

返回值

类型:System.Collections.IEnumerator
The IEnumerator interface that permits iteration through a collection.

实现

IEnumerable.GetEnumerator()

请参阅

参考

EventPropertyCollection 类

Microsoft.SqlServer.Management.Smo 命名空间