Delen via


TraceReplay.ReplayEvent Event

Invokes the handler before an event is replayed.

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

Syntax

'Declaration
Public Event ReplayEvent As ReplayEventHandler
'Usage
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 supports the use of events, but not the declaration of new ones.

Examples

Readme_Tracer

See Also

Reference

TraceReplay Class

Microsoft.SqlServer.Management.Trace Namespace

Other Resources

Trace Flags (Transact-SQL)

SQL Server Profiler Templates and Permissions