Compartilhar via


Método TraceEventCollection.Add (TraceEventClass)

Creates and adds a TraceEvent, with the specified TraceEventClass value, to the end of the collection.

Namespace:  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (em Microsoft.AnalysisServices.dll)

Sintaxe

'Declaração
Public Function Add ( _
    eventId As TraceEventClass _
) As TraceEvent
'Uso
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

Parâmetros

Valor de retorno

Tipo: Microsoft.AnalysisServices.TraceEvent
A new, empty TraceEvent.

Consulte também

Referência

TraceEventCollection Classe

Sobrecarregado Add

Namespace Microsoft.AnalysisServices