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.)
Geschützte Methode Finalize (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.)
Geschützte Methode MemberwiseClone (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

Threadsicherheit

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