EventPropertyCollection Class

The EventPropertyCollection object represents the properties of event objects.

Inheritance Hierarchy


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


Public NotInheritable Class EventPropertyCollection _
    Implements ICollection, IEnumerable(Of EventProperty),  _
Dim instance As EventPropertyCollection
public sealed class EventPropertyCollection : ICollection, 
    IEnumerable<EventProperty>, IEnumerable
public ref class EventPropertyCollection sealed : ICollection, 
    IEnumerable<EventProperty^>, IEnumerable
type EventPropertyCollection =  
        interface ICollection
        interface IEnumerable<EventProperty>
        interface IEnumerable
public final class EventPropertyCollection implements ICollection, IEnumerable<EventProperty>, IEnumerable

The EventPropertyCollection type exposes the following members.


  Name Description
Public property Count Gets the number of EventProperty objects in the EventPropertyCollection object.
Public property Item[Int32] Gets the EventProperty object at the specified index position.
Public property Item[String] Gets the EventProperty object that has the specified name.



  Name Description
Public method CopyTo Copies the collection objects to a one-dimensional array starting at the specified index value.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetEnumerator Gets an enumerator that can iterate through the list of objects.
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)


Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method ICollection.CopyTo Copies the elements of the ICollection to an Array, starting at a particular Array index.
Explicit interface implemetationPrivate method IEnumerable.GetEnumerator Returns an IEnumerator interface that permits iteration through a collection.
Explicit interface implemetationPrivate property ICollection.IsSynchronized Indicates if the Event Property Collection is synchronized (locked) for read and update.
Explicit interface implemetationPrivate property ICollection.SyncRoot Returns an object that can be used to synchronize access to the ICollection.



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.

Thread Safety

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