EventPropertyCollection EventPropertyCollection EventPropertyCollection Class


The EventPropertyCollection object represents the properties of event objects.

public ref class EventPropertyCollection sealed : System::Collections::Generic::IEnumerable<Microsoft::SqlServer::Management::Smo::EventProperty ^>, System::Collections::ICollection
public sealed class EventPropertyCollection : System.Collections.Generic.IEnumerable<Microsoft.SqlServer.Management.Smo.EventProperty>, System.Collections.ICollection
Public NotInheritable Class EventPropertyCollection
Implements ICollection, IEnumerable(Of EventProperty)


Using Collections


Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are safe for multithreaded operations. Any instance members are not guaranteed to be thread safe.


Count Count Count

Gets the number of EventProperty objects in the EventPropertyCollection object.

Item[Int32] Item[Int32] Item[Int32]

Gets the EventProperty object at the specified index position.

Item[String] Item[String] Item[String]

Gets the EventProperty object that has the specified name.


CopyTo(EventProperty[], Int32) CopyTo(EventProperty[], Int32) CopyTo(EventProperty[], Int32)

Copies the collection objects to a one-dimensional array starting at the specified index value.

GetEnumerator() GetEnumerator() GetEnumerator()

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

Explicit Interface Implementations

ICollection.CopyTo(Array, Int32) ICollection.CopyTo(Array, Int32) ICollection.CopyTo(Array, Int32)

Copies the elements of the ICollection to an Array, starting at a particular Array index.

ICollection.IsSynchronized ICollection.IsSynchronized ICollection.IsSynchronized

Gets a value indicating whether access to the ICollection is synchronized.

ICollection.SyncRoot ICollection.SyncRoot ICollection.SyncRoot

Gets an object that can be used to synchronize access to the collection.

IEnumerable.GetEnumerator() IEnumerable.GetEnumerator() IEnumerable.GetEnumerator()

Returns an IEnumerator interface that permits iteration through a collection.

Applies to