共用方式為


ReplayStop 事件

Invokes the handler before a replayed trace is stopped.

命名空間:  Microsoft.SqlServer.Management.Trace
組件:  Microsoft.SqlServer.ConnectionInfoExtended (在 Microsoft.SqlServer.ConnectionInfoExtended.dll 中)

語法

'宣告
Public Event ReplayStop As ReplayStopHandler
'用途
Dim instance As TraceReplay
Dim handler As ReplayStopHandler

AddHandler instance.ReplayStop, handler
public event ReplayStopHandler ReplayStop
public:
 event ReplayStopHandler^ ReplayStop {
    void add (ReplayStopHandler^ value);
    void remove (ReplayStopHandler^ value);
}
member ReplayStop : IEvent<ReplayStopHandler,
    EventArgs>
JScript 支援事件的使用,但不支援新事件的宣告。

範例

Readme_Tracer