Compartilhar via


Evento OnEvent

Namespace:  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (em Microsoft.AnalysisServices.dll)

Sintaxe

'Declaração
Public Event OnEvent As TraceEventHandler
'Uso
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 dá suporte ao uso de eventos, mas não à declaração de eventos novos.

Implementa

ITrace. . :: . .OnEvent