Condividi tramite


Classe TraceEventCollection

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

Gerarchia di ereditarietà

System. . :: . .Object
  Microsoft.AnalysisServices..::..TraceEventCollection

Spazio dei nomi  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Sintassi

'Dichiarazione
<GuidAttribute("8294A436-B408-4594-A0D1-31B2C7F2904A")> _
Public NotInheritable Class TraceEventCollection _
    Implements ICollection, IEnumerable
'Utilizzo
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

Nel tipo TraceEventCollection sono esposti i membri seguenti.

Proprietà

  Nome Descrizione
Proprietà pubblica Count Gets the number of TraceEvent objects in the collection.
Proprietà pubblica Item[ ( [ ( Int32] ) ] ) Gets the TraceEvent at the specified index from the collection.
Proprietà pubblica Item[ ( [ ( TraceEventClass] ) ] ) Gets the TraceEvent that has the specified TraceEventClass value from the collection.

In alto

Metodi

  Nome Descrizione
Metodo pubblico Add(TraceEvent) Adds a TraceEvent to the end of the collection.
Metodo pubblico Add(TraceEventClass) Creates and adds a TraceEvent, with the specified TraceEventClass value, to the end of the collection.
Metodo pubblico Clear Removes all elements from the collection.
Metodo pubblico Contains(TraceEvent) Indicates whether the collection contains a specified TraceEvent.
Metodo pubblico Contains(TraceEventClass) Indicates whether the collection contains a TraceEvent that has the specified TraceEventClass value.
Metodo pubblico Equals Ereditato da Object.
Metodo protetto Finalize Ereditato da Object.
Metodo pubblico Find Gets the TraceEvent that has the specified TraceEventClass value from the collection.
Metodo pubblico GetHashCode Ereditato da Object.
Metodo pubblico GetType Ereditato da Object.
Metodo protetto MemberwiseClone Ereditato da Object.
Metodo pubblico Remove(TraceEvent) Removes the specified TraceEvent from the collection.
Metodo pubblico Remove(TraceEventClass) Removes the TraceEvent that has the specified TraceEventClass value from the collection.
Metodo pubblico ToString Ereditato da Object.

In alto

Protezione dei thread

I membri static (Shared in Visual Basic) pubblici di questo tipo sono affidabili. Non è invece garantita la sicurezza dei membri dell'istanza.