共用方式為


TraceEvent 建構 (TraceEventClass)

命名空間:  Microsoft.AnalysisServices
組件:  Microsoft.AnalysisServices (在 Microsoft.AnalysisServices.dll 中)

語法

'宣告
Public Sub New ( _
    eventClass As TraceEventClass _
)
'用途
Dim eventClass As TraceEventClass

Dim instance As New TraceEvent(eventClass)
public TraceEvent(
    TraceEventClass eventClass
)
public:
TraceEvent(
    TraceEventClass eventClass
)
new : 
        eventClass:TraceEventClass -> TraceEvent
public function TraceEvent(
    eventClass : TraceEventClass
)