Dela via


TraceCollection.Add Method (Trace)

Adds a Trace to the end of the collection.

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

Syntax

'Declaration
Public Function Add ( _
    item As Trace _
) As Integer
'Usage
Dim instance As TraceCollection
Dim item As Trace
Dim returnValue As Integer

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

Parameters

Return Value

Type: System.Int32
The zero-based index at which the Trace has been added.