ITraceDataWriter.WriteNotify 事件
Raises a write notify event.
命名空间: Microsoft.SqlServer.Management.Trace
程序集: Microsoft.SqlServer.ConnectionInfoExtended(在 Microsoft.SqlServer.ConnectionInfoExtended.dll 中)
语法
声明
Event WriteNotify As WriteNotifyEventHandler
用法
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 支持使用事件,但不支持声明新事件。
示例
请参阅
参考
Microsoft.SqlServer.Management.Trace 命名空间