Metoda EventPropertyCollection.GetEnumerator
Pobiera moduł wyliczający których może iterować przez listę obiektów.
Ten interfejs API nie jest zgodny ze specyfikacją CLS.
Przestrzeń nazw: Microsoft.SqlServer.Management.Smo
Zestaw: Microsoft.SqlServer.Smo (w Microsoft.SqlServer.Smo.dll)
Składnia
'Deklaracja
<CLSCompliantAttribute(False)> _
Public Function GetEnumerator As IEnumerator(Of EventProperty)
'Użycie
Dim instance As EventPropertyCollection
Dim returnValue As IEnumerator(Of EventProperty)
returnValue = instance.GetEnumerator()
[CLSCompliantAttribute(false)]
public IEnumerator<EventProperty> GetEnumerator()
[CLSCompliantAttribute(false)]
public:
virtual IEnumerator<EventProperty^>^ GetEnumerator() sealed
[<CLSCompliantAttribute(false)>]
abstract GetEnumerator : unit -> IEnumerator<EventProperty>
[<CLSCompliantAttribute(false)>]
override GetEnumerator : unit -> IEnumerator<EventProperty>
public final function GetEnumerator() : IEnumerator<EventProperty>
Wartość zwracana
Typ: System.Collections.Generic.IEnumerator<EventProperty>
IEnumerator Obiektu wartości, które mogą być używane do iterować w kolekcja.
Implementacje
Zobacz także