Partager via


Événement WriteNotify

Raises a write notify event.

Espace de noms :  Microsoft.SqlServer.Management.Trace
Assembly :  Microsoft.SqlServer.ConnectionInfoExtended (en Microsoft.SqlServer.ConnectionInfoExtended.dll)

Syntaxe

'Déclaration
Event WriteNotify As WriteNotifyEventHandler
'Utilisation
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 prend en charge l'utilisation d'événements, mais pas la déclaration de nouveaux événements.

Exemples

Readme_Tracer