TraceReplay.ReplayEvent 事件
Invokes the handler before an event is replayed.
命名空间: Microsoft.SqlServer.Management.Trace
程序集: Microsoft.SqlServer.ConnectionInfoExtended(在 Microsoft.SqlServer.ConnectionInfoExtended.dll 中)
语法
声明
Public Event ReplayEvent As ReplayEventHandler
用法
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 支持使用事件,但不支持声明新事件。
示例
请参阅
参考
Microsoft.SqlServer.Management.Trace 命名空间