Freigeben über


TraceEventCollection-Klasse

Contains a collection of TraceEvent objects. This class cannot be inherited.

Vererbungshierarchie

System.Object
  Microsoft.AnalysisServices.TraceEventCollection

Namespace:  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Syntax

'Declaration
<GuidAttribute("8294A436-B408-4594-A0D1-31B2C7F2904A")> _
Public NotInheritable Class TraceEventCollection _
    Implements ICollection, IEnumerable
'Usage
Dim instance As TraceEventCollection
[GuidAttribute("8294A436-B408-4594-A0D1-31B2C7F2904A")]
public sealed class TraceEventCollection : ICollection, 
    IEnumerable
[GuidAttribute(L"8294A436-B408-4594-A0D1-31B2C7F2904A")]
public ref class TraceEventCollection sealed : ICollection, 
    IEnumerable
[<SealedAttribute>]
[<GuidAttribute("8294A436-B408-4594-A0D1-31B2C7F2904A")>]
type TraceEventCollection =  
    class 
        interface ICollection 
        interface IEnumerable 
    end
public final class TraceEventCollection implements ICollection, IEnumerable

Der TraceEventCollection-Typ macht folgende Elemente verfügbar.

Eigenschaften

  Name Beschreibung
Öffentliche Eigenschaft Count Gets the number of TraceEvent objects in the collection.
Öffentliche Eigenschaft Item[Int32] Gets the TraceEvent at the specified index from the collection.
Öffentliche Eigenschaft Item[TraceEventClass] Gets the TraceEvent that has the specified TraceEventClass value from the collection.

Zum Anfang

Methoden

  Name Beschreibung
Öffentliche Methode Add(TraceEvent) Adds a TraceEvent to the end of the collection.
Öffentliche Methode Add(TraceEventClass) Creates and adds a TraceEvent, with the specified TraceEventClass value, to the end of the collection.
Öffentliche Methode Clear Removes all elements from the collection.
Öffentliche Methode Contains(TraceEvent) Indicates whether the collection contains a specified TraceEvent.
Öffentliche Methode Contains(TraceEventClass) Indicates whether the collection contains a TraceEvent that has the specified TraceEventClass value.
Öffentliche Methode Equals (Geerbt von Object.)
Öffentliche Methode Find Gets the TraceEvent that has the specified TraceEventClass value from the collection.
Öffentliche Methode GetHashCode (Geerbt von Object.)
Öffentliche Methode GetType (Geerbt von Object.)
Öffentliche Methode Remove(TraceEvent) Removes the specified TraceEvent from the collection.
Öffentliche Methode Remove(TraceEventClass) Removes the TraceEvent that has the specified TraceEventClass value from the collection.
Öffentliche Methode ToString (Geerbt von Object.)

Zum Anfang

Explizite Schnittstellenimplementierungen

  Name Beschreibung
Explizite SchnittstellenimplementierungPrivate Methode ICollection.CopyTo Copies the elements of the collection to an array, starting at a particular array index.
Explizite SchnittstellenimplementierungPrivate Methode IEnumerable.GetEnumerator Returns an enumerator that iterates through a collection.
Explizite SchnittstellenimplementierungPrivate Eigenschaft ICollection.IsSynchronized Gets a value that indicates whether access to the TraceEventCollection is synchronized.
Explizite SchnittstellenimplementierungPrivate Eigenschaft ICollection.SyncRoot Gets an object that can be used to synchronize access to the TraceEventCollection.

Zum Anfang

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.AnalysisServices-Namespace