Partager via


Méthode Add (String)

Creates and adds a Trace, with the specified identifier, to the end of the collection.

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

Syntaxe

'Déclaration
Public Function Add ( _
    name As String _
) As Trace
'Utilisation
Dim instance As TraceCollection
Dim name As String
Dim returnValue As Trace

returnValue = instance.Add(name)
public Trace Add(
    string name
)
public:
Trace^ Add(
    String^ name
)
member Add : 
        name:string -> Trace 
public function Add(
    name : String
) : Trace

Paramètres

Valeur de retour

Type : Microsoft.AnalysisServices. . :: . .Trace
The zero-based index at which the Trace has been added.