Compartilhar via


Evento ReplayEvent

Invokes the handler before an event is replayed.

Namespace:  Microsoft.SqlServer.Management.Trace
Assembly:  Microsoft.SqlServer.ConnectionInfoExtended (em Microsoft.SqlServer.ConnectionInfoExtended.dll)

Sintaxe

'Declaração
Public Event ReplayEvent As ReplayEventHandler
'Uso
Dim instance As TraceReplay
Dim handler As ReplayEventHandler

AddHandler instance.ReplayEvent, handler
public event ReplayEventHandler ReplayEvent
public:
 event ReplayEventHandler^ ReplayEvent {
    void add (ReplayEventHandler^ value);
    void remove (ReplayEventHandler^ value);
}
member ReplayEvent : IEvent<ReplayEventHandler,
    ReplayEventArgs>
JScript dá suporte ao uso de eventos, mas não à declaração de eventos novos.

Exemplos

Readme_Tracer