Stopped 事件
此 API 支援 基礎結構,但無法直接從您的程式碼使用。
命名空間: Microsoft.AnalysisServices
組件: Microsoft.AnalysisServices (在 Microsoft.AnalysisServices.dll 中)
語法
'宣告
Event Stopped As TraceStoppedEventHandler
'用途
Dim instance As ITrace
Dim handler As TraceStoppedEventHandler
AddHandler instance.Stopped, handler
event TraceStoppedEventHandler Stopped
event TraceStoppedEventHandler^ Stopped {
void add (TraceStoppedEventHandler^ value);
void remove (TraceStoppedEventHandler^ value);
}
abstract Stopped : IEvent<TraceStoppedEventHandler,
EventArgs>
JScript 支援事件的使用,但不支援新事件的宣告。