Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
MSDN Library

TraceEventCollection Class

 

Applies To: SQL Server 2016 Preview

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

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

System.Object
  Microsoft.AnalysisServices.TraceEventCollection

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

NameDescription
System_CAPS_pubpropertyCount

Gets the number of TraceEvent objects in the collection.

System_CAPS_pubpropertyItem[Int32]

Gets the TraceEvent at the specified index from the collection.

System_CAPS_pubpropertyItem[TraceEventClass]

Gets the TraceEvent that has the specified TraceEventClass value from the collection.

NameDescription
System_CAPS_pubmethodAdd(TraceEvent)

Adds a TraceEvent to the end of the collection.

System_CAPS_pubmethodAdd(TraceEventClass)

Creates and adds a TraceEvent, with the specified TraceEventClass value, to the end of the collection.

System_CAPS_pubmethodClear()

Removes all elements from the collection.

System_CAPS_pubmethodContains(TraceEvent)

Indicates whether the collection contains a specified TraceEvent.

System_CAPS_pubmethodContains(TraceEventClass)

Indicates whether the collection contains a TraceEvent that has the specified TraceEventClass value.

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_pubmethodFind(TraceEventClass)

Gets the TraceEvent that has the specified TraceEventClass value from the collection.

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodRemove(TraceEvent)

Removes the specified TraceEvent from the collection.

System_CAPS_pubmethodRemove(TraceEventClass)

Removes the TraceEvent that has the specified TraceEventClass value from the collection.

System_CAPS_pubmethodToString()

(Inherited from Object.)

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privmethodICollection.CopyTo(Array, Int32)

Copies the elements of the collection to an array, starting at a particular array index.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

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

Return to top

Community Additions

Show:
© 2015 Microsoft