SessionTrace.OnEvent Event
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Syntax
'Declaration
Public Event OnEvent As TraceEventHandler
'Usage
Dim instance As SessionTrace
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 supports the use of events, but not the declaration of new ones.