Compartilhar via


Classe TraceEventCollection

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

Hierarquia de herança

System.Object
  Microsoft.AnalysisServices.TraceEventCollection

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

Sintaxe

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

O tipo TraceEventCollection expõe os membros a seguir.

Propriedades

  Nome Descrição
Propriedade pública Count Gets the number of TraceEvent objects in the collection.
Propriedade pública Item[Int32] Gets the TraceEvent at the specified index from the collection.
Propriedade pública Item[TraceEventClass] Gets the TraceEvent that has the specified TraceEventClass value from the collection.

Início

Métodos

  Nome Descrição
Método público Add(TraceEvent) Adds a TraceEvent to the end of the collection.
Método público Add(TraceEventClass) Creates and adds a TraceEvent, with the specified TraceEventClass value, to the end of the collection.
Método público Clear Removes all elements from the collection.
Método público Contains(TraceEvent) Indicates whether the collection contains a specified TraceEvent.
Método público Contains(TraceEventClass) Indicates whether the collection contains a TraceEvent that has the specified TraceEventClass value.
Método público Equals (Herdado de Object.)
Método público Find Gets the TraceEvent that has the specified TraceEventClass value from the collection.
Método público GetHashCode (Herdado de Object.)
Método público GetType (Herdado de Object.)
Método público Remove(TraceEvent) Removes the specified TraceEvent from the collection.
Método público Remove(TraceEventClass) Removes the TraceEvent that has the specified TraceEventClass value from the collection.
Método público ToString (Herdado de Object.)

Início

Implementações de interfaces explícitas

  Nome Descrição
Implementações de interfaces explícitasMétodo privado ICollection.CopyTo Copies the elements of the collection to an array, starting at a particular array index.
Implementações de interfaces explícitasMétodo privado IEnumerable.GetEnumerator Returns an enumerator that iterates through a collection.
Implementações de interfaces explícitasPropriedade privada ICollection.IsSynchronized Gets a value that indicates whether access to the TraceEventCollection is synchronized.
Implementações de interfaces explícitasPropriedade privada ICollection.SyncRoot Gets an object that can be used to synchronize access to the TraceEventCollection.

Início

Segurança de thread

Qualquer membro público static (Shared no Visual Basic) desse tipo é seguro para threads. Não há garantia de que qualquer membro de instância seja seguro para threads.

Consulte também

Referência

Namespace Microsoft.AnalysisServices