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
- item
Tipo: Microsoft.AnalysisServices. . :: . .TraceEvent
The TraceEvent to add.
Valor de retorno
Tipo: System. . :: . .Int32
The zero-based index at which the TraceEvent has been added.
Consulte também