Freigeben über


EventPropertyCollection.IEnumerable.GetEnumerator-Methode

Returns an IEnumerator interface that permits iteration through a collection.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Private Function GetEnumerator As IEnumerator 
    Implements IEnumerable.GetEnumerator
'Usage
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 unterstützt die Verwendung expliziter Schnittstellenimplementierungen, aber nicht die Deklaration neuer Schnittstellenimplementierungen.

Rückgabewert

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

Implementiert

IEnumerable.GetEnumerator()

Siehe auch

Verweis

EventPropertyCollection Klasse

Microsoft.SqlServer.Management.Smo-Namespace