EventPropertyCollection-Klasse

The EventPropertyCollection object represents the properties of event objects.

Vererbungshierarchie

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

Der EventPropertyCollection-Typ macht folgende Elemente verfügbar.

Eigenschaften

  Name Beschreibung
Öffentliche Eigenschaft Count Gets the number of EventProperty objects in the EventPropertyCollection object.
Öffentliche Eigenschaft Item[Int32] Gets the EventProperty object at the specified index position.
Öffentliche Eigenschaft Item[String] Gets the EventProperty object that has the specified name.

Zum Anfang

Methoden

  Name Beschreibung
Öffentliche Methode CopyTo Copies the collection objects to a one-dimensional array starting at the specified index value.
Öffentliche Methode Equals (Geerbt von Object.)
Öffentliche Methode GetEnumerator Gets an enumerator that can iterate through the list of objects.
Öffentliche Methode GetHashCode (Geerbt von Object.)
Öffentliche Methode GetType (Geerbt von Object.)
Öffentliche Methode ToString (Geerbt von Object.)

Zum Anfang

Explizite Schnittstellenimplementierungen

  Name Beschreibung
Explizite SchnittstellenimplementierungPrivate Methode ICollection.CopyTo Copies the elements of the ICollection to an Array, starting at a particular Array index.
Explizite SchnittstellenimplementierungPrivate Methode IEnumerable.GetEnumerator Returns an IEnumerator interface that permits iteration through a collection.
Explizite SchnittstellenimplementierungPrivate Eigenschaft ICollection.IsSynchronized Gets a value that indicates whether the event property collection is synchronized (locked) for read and update.
Explizite SchnittstellenimplementierungPrivate Eigenschaft ICollection.SyncRoot Returns an object that can be used to synchronize access to the ICollection.

Zum Anfang

Hinweise

Thread Safety

Alle öffentlichen, statischen Elemente dieses Typs (Shared in Microsoft Visual Basic) sind für Vorgänge mit mehreren Threads sicher. Bei Instanzmembern ist die Threadsicherheit nicht gewährleistet.

Beispiele

Verwenden von Auflistungen

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic)-Elemente dieses Typs sind Threadsicher. Für Instanzelemente wird die Threadsicherheit nicht gewährleistet.

Siehe auch

Verweis

Microsoft.SqlServer.Management.Smo-Namespace