Metodo TraceEventCollection.Add (TraceEventClass)
Creates and adds a TraceEvent, with the specified TraceEventClass value, to the end of the collection.
Spazio dei nomi Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Sintassi
'Dichiarazione
Public Function Add ( _
eventId As TraceEventClass _
) As TraceEvent
'Utilizzo
Dim instance As TraceEventCollection
Dim eventId As TraceEventClass
Dim returnValue As TraceEvent
returnValue = instance.Add(eventId)
public TraceEvent Add(
TraceEventClass eventId
)
public:
TraceEvent^ Add(
TraceEventClass eventId
)
member Add :
eventId:TraceEventClass -> TraceEvent
public function Add(
eventId : TraceEventClass
) : TraceEvent
Parametri
- eventId
Tipo: Microsoft.AnalysisServices.TraceEventClass
The TraceEventClass value of the TraceEvent to return.
Valore restituito
Tipo: Microsoft.AnalysisServices.TraceEvent
A new, empty TraceEvent.