Stopped 事件
此 API 支援 .NET Framework 結構,但並不是針對直接從程式碼使用而設計。
命名空間: 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 支援事件的使用,但不支援新事件的宣告。