Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.
Assigns a certain trace event handler to an event associated with an ITrace object.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Syntax
'Declaration
Event OnEvent As TraceEventHandler
'Usage
Dim instance As ITrace
Dim handler As TraceEventHandler
AddHandler instance.OnEvent, handler
event TraceEventHandler OnEvent
event TraceEventHandler^ OnEvent {
void add (TraceEventHandler^ value);
void remove (TraceEventHandler^ value);
}
abstract OnEvent : IEvent<TraceEventHandler,
TraceEventArgs>
JScript supports the use of events, but not the declaration of new ones.