Partager via


Contains méthode (Trace)

Indicates whether the collection contains a specified Trace.

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

Syntaxe

'Déclaration
Public Function Contains ( _
    item As Trace _
) As Boolean
'Utilisation
Dim instance As TraceCollection
Dim item As Trace
Dim returnValue As Boolean

returnValue = instance.Contains(item)
public bool Contains(
    Trace item
)
public:
bool Contains(
    Trace^ item
)
member Contains : 
        item:Trace -> bool 
public function Contains(
    item : Trace
) : boolean

Paramètres

Valeur de retour

Type : System. . :: . .Boolean
true if the Trace exists in the collection; otherwise, false.