Sdílet prostřednictvím


TraceReaderWriter.WriteNotify Event

Raises an event when the trace is written to the trace file or trace table.

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

Syntax

'Declaration
Public Event WriteNotify As WriteNotifyEventHandler
'Usage
Dim instance As TraceReaderWriter
Dim handler As WriteNotifyEventHandler

AddHandler instance.WriteNotify, handler
public event WriteNotifyEventHandler WriteNotify
public:
virtual  event WriteNotifyEventHandler^ WriteNotify {
    void add (WriteNotifyEventHandler^ value);
    void remove (WriteNotifyEventHandler^ value);
}
abstract WriteNotify : IEvent<WriteNotifyEventHandler,
    TraceEventArgs>
override WriteNotify : IEvent<WriteNotifyEventHandler,
    TraceEventArgs>
JScript supports the use of events, but not the declaration of new ones.

Implements

ITraceDataWriter.WriteNotify

Examples

Readme_Tracer