TraceEventCollection Members

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

The following tables list the members exposed by the TraceEventCollection type.

Public Properties

  名称 Description
ms175266.pubproperty(zh-cn,SQL.90).gif Count Gets the number of TraceEvent objects in the collection.
ms175266.pubproperty(zh-cn,SQL.90).gif Item Overloaded. Gets the TraceEvent from the collection.

顶部

Public Methods

(see also Protected Methods )

  名称 Description
ms175266.pubmethod(zh-cn,SQL.90).gif Add Overloaded. Adds a TraceEvent to the collection.
ms175266.pubmethod(zh-cn,SQL.90).gif Clear Removes all elements from the collection.
ms175266.pubmethod(zh-cn,SQL.90).gif Contains Overloaded. Indicates whether the collection contains a TraceEvent.
ms175266.pubmethod(zh-cn,SQL.90).gif Equals  Overloaded. (inherited from Object )
ms175266.pubmethod(zh-cn,SQL.90).gif Find Gets the TraceEvent that has the specified TraceEventClass value from the collection.
ms175266.pubmethod(zh-cn,SQL.90).gif GetHashCode  (inherited from Object )
ms175266.pubmethod(zh-cn,SQL.90).gif GetType  (inherited from Object )
ms175266.pubmethod(zh-cn,SQL.90).gifms175266.static(zh-cn,SQL.90).gif ReferenceEquals  (inherited from Object )
ms175266.pubmethod(zh-cn,SQL.90).gif Remove Overloaded. Removes a TraceEvent from the collection.
ms175266.pubmethod(zh-cn,SQL.90).gif ToString  (inherited from Object )

顶部

Protected Methods

  名称 Description
ms175266.protmethod(zh-cn,SQL.90).gif Finalize  (inherited from Object )
ms175266.protmethod(zh-cn,SQL.90).gif MemberwiseClone  (inherited from Object )

顶部

Explicit Interface Implementations

  名称 Description
System.Collections.ICollection.CopyTo  
System.Collections.IEnumerable.GetEnumerator  
System.Collections.ICollection.IsSynchronized  
System.Collections.ICollection.SyncRoot  

顶部

请参阅

参考

TraceEventCollection Class
Microsoft.AnalysisServices Namespace