共用方式為


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-tw,SQL.90).gif Count Gets the number of TraceEvent objects in the collection.
ms175266.pubproperty(zh-tw,SQL.90).gif Item Overloaded. Gets the TraceEvent from the collection.

頂端

Public Methods

(see also Protected Methods )

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

頂端

Protected Methods

  名稱 Description
ms175266.protmethod(zh-tw,SQL.90).gif Finalize  (inherited from Object )
ms175266.protmethod(zh-tw,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