Compartir a través de


Add Método (TraceEvent)

Adds a TraceEvent to the end of the collection.

Espacio de nombres:  Microsoft.AnalysisServices
Ensamblado:  Microsoft.AnalysisServices (en Microsoft.AnalysisServices.dll)

Sintaxis

'Declaración
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 devuelto

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