Trace.OnEvent 이벤트
Assigns a certain trace event handler to an event associated with a Trace object.
네임스페이스: Microsoft.AnalysisServices
어셈블리: Microsoft.AnalysisServices(Microsoft.AnalysisServices.dll)
구문
‘선언
Public Event OnEvent As TraceEventHandler
‘사용 방법
Dim instance As Trace
Dim handler As TraceEventHandler
AddHandler instance.OnEvent, handler
public event TraceEventHandler OnEvent
public:
virtual event TraceEventHandler^ OnEvent {
void add (TraceEventHandler^ value);
void remove (TraceEventHandler^ value);
}
abstract OnEvent : IEvent<TraceEventHandler,
TraceEventArgs>
override OnEvent : IEvent<TraceEventHandler,
TraceEventArgs>
Jscript는 이벤트 사용을 지원하지만 새로운 이벤트 선언은 지원하지 않습니다.