共用方式為


TraceEventCollection.Add Method

Adds a TraceEvent to the collection.

多載清單

名稱 Description
TraceEventCollection.Add (TraceEvent)
Adds a TraceEvent to the end of the collection.
TraceEventCollection.Add (TraceEventClass)
Creates and adds a TraceEvent, with the specified TraceEventClass value, to the end of the collection.

請參閱

參考

TraceEventCollection Class
TraceEventCollection Members
Microsoft.AnalysisServices Namespace