Dela via


EventPropertyCollection Class

The EventPropertyCollection object represents the properties of event objects.

Inheritance Hierarchy

System.Object
  Microsoft.SqlServer.Management.Smo.EventPropertyCollection

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

Syntax

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

The EventPropertyCollection type exposes the following members.

Properties

  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.

Top

Methods

  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.)

Top

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.

Top

Remarks

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.