Compartilhar via


Método Add (TraceEvent)

Adds a TraceEvent to the end of the collection.

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

Sintaxe

'Declaração
Public Function Add ( _
    item As TraceEvent _
) As Integer
'Uso
Dim instance As TraceEventCollection
Dim item As TraceEvent
Dim returnValue As Integer

returnValue = instance.Add(item)
public int Add(
    TraceEvent item
)
public:
int Add(
    TraceEvent^ item
)
member Add : 
        item:TraceEvent -> int 
public function Add(
    item : TraceEvent
) : int

Parâmetros

Valor de retorno

Tipo: System. . :: . .Int32
The zero-based index at which the TraceEvent has been added.