Aracılığıyla paylaş


EventPropertyCollection.GetEnumerator Method

Gets an enumerator that can iterate through the list of objects.

This API is not CLS-compliant. 

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

Syntax

'Bildirim
<CLSCompliantAttribute(False)> _
Public Function GetEnumerator As IEnumerator(Of EventProperty)
'Kullanım
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>

Return Value

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

Implements

IEnumerable<T>.GetEnumerator()

Examples

Using Collections

See Also

Reference

EventPropertyCollection Class

Microsoft.SqlServer.Management.Smo Namespace