Compartilhar via


Evento WriteNotify

Raises a write notify event.

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

Sintaxe

'Declaração
Event WriteNotify As WriteNotifyEventHandler
'Uso
Dim instance As ITraceDataWriter
Dim handler As WriteNotifyEventHandler

AddHandler instance.WriteNotify, handler
event WriteNotifyEventHandler WriteNotify
 event WriteNotifyEventHandler^ WriteNotify {
    void add (WriteNotifyEventHandler^ value);
    void remove (WriteNotifyEventHandler^ value);
}
abstract WriteNotify : IEvent<WriteNotifyEventHandler,
    TraceEventArgs>
JScript dá suporte ao uso de eventos, mas não à declaração de eventos novos.

Exemplos

Readme_Tracer