Partager via


Add méthode (TraceEvent)

Adds a TraceEvent to the end of the collection.

Espace de noms :  Microsoft.AnalysisServices
Assembly :  Microsoft.AnalysisServices (dans Microsoft.AnalysisServices.dll)

Syntaxe

'Déclaration
Public Function Add ( _
    item As TraceEvent _
) As Integer
'Utilisation
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

Paramètres

Valeur de retour

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