Export (0) Print
Expand All

TraceEventCollection Class

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

System.Object
  Microsoft.AnalysisServices.TraceEventCollection

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

[GuidAttribute("8294A436-B408-4594-A0D1-31B2C7F2904A")]
public sealed class TraceEventCollection : ICollection, 
	IEnumerable

The TraceEventCollection type exposes the following members.

  NameDescription
Public propertyCountGets the number of TraceEvent objects in the collection.
Public propertyItem[Int32]Gets the TraceEvent at the specified index from the collection.
Public propertyItem[TraceEventClass]Gets the TraceEvent that has the specified TraceEventClass value from the collection.
Top

  NameDescription
Public methodAdd(TraceEvent)Adds a TraceEvent to the end of the collection.
Public methodAdd(TraceEventClass)Creates and adds a TraceEvent, with the specified TraceEventClass value, to the end of the collection.
Public methodClearRemoves all elements from the collection.
Public methodContains(TraceEvent)Indicates whether the collection contains a specified TraceEvent.
Public methodContains(TraceEventClass)Indicates whether the collection contains a TraceEvent that has the specified TraceEventClass value.
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodFindGets the TraceEvent that has the specified TraceEventClass value from the collection.
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodRemove(TraceEvent)Removes the specified TraceEvent from the collection.
Public methodRemove(TraceEventClass)Removes the TraceEvent that has the specified TraceEventClass value from the collection.
Public methodToString (Inherited from Object.)
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Community Additions

ADD
Show:
© 2014 Microsoft