TraceEventCollection Class
TOC
Collapse the table of content
Expand the table of content

TraceEventCollection Class

 

Applies To: SQL Server (starting with 2016)

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

[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.

System_CAPS_pubinterfaceSystem_CAPS_privpropertyICollection.IsSynchronized

Gets a value that indicates whether access to the TraceEventCollection is synchronized.

System_CAPS_pubinterfaceSystem_CAPS_privpropertyICollection.SyncRoot

Gets an object that can be used to synchronize access to the TraceEventCollection.

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
Show:
© 2016 Microsoft