Compartilhar via


Evento WriteNotify

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

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

Sintaxe

'Declaração
Public Event WriteNotify As WriteNotifyEventHandler
'Uso
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 dá suporte ao uso de eventos, mas não à declaração de eventos novos.

Implementa

ITraceDataWriter. . :: . .WriteNotify

Exemplos

Readme_Tracer