Export (0) Print
Expand All

TraceEventCollection Class

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

Object
  Microsoft.AnalysisServices.TraceEventCollection

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

[DefaultMemberAttribute("Item")]
[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.)
Public methodFindGets the TraceEvent that has the specified TraceEventClass value from the collection.
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (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

  NameDescription
Explicit interface implemetationPrivate methodICollectionCopyToCopies the elements of the collection to an array, starting at a particular array index.
Explicit interface implemetationPrivate methodIEnumerableGetEnumeratorReturns an enumerator that iterates through a collection.
Explicit interface implemetationPrivate propertyICollectionIsSynchronizedGets a value that indicates whether access to the TraceEventCollection is synchronized.
Explicit interface implemetationPrivate propertyICollectionSyncRootGets an object that can be used to synchronize access to the TraceEventCollection.
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