EventPropertyCollection Class

The EventPropertyCollection object represents the properties of event objects.


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

public sealed class EventPropertyCollection : ICollection, 
	IEnumerable<EventProperty>, IEnumerable

The EventPropertyCollection type exposes the following members.

Public propertyCountGets the number of EventProperty objects in the EventPropertyCollection object.
Public propertyItem[Int32]Gets the EventProperty object at the specified index position.
Public propertyItem[String]Gets the EventProperty object that has the specified name.

Public methodCopyToCopies the collection objects to a one-dimensional array starting at the specified index value.
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetEnumeratorGets an enumerator that can iterate through the list of objects.
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)

Explicit interface implemetationPrivate methodICollection.CopyToCopies the elements of the ICollection to an Array, starting at a particular Array index.
Explicit interface implemetationPrivate methodIEnumerable.GetEnumeratorReturns an IEnumerator interface that permits iteration through a collection.
Explicit interface implemetationPrivate propertyICollection.IsSynchronizedIndicates if the Event Property Collection is synchronized (locked) for read and update.
Explicit interface implemetationPrivate propertyICollection.SyncRootReturns 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.

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

Community Additions