Compartilhar via


Método Contains (Trace)

Indicates whether the collection contains a specified Trace.

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

Sintaxe

'Declaração
Public Function Contains ( _
    item As Trace _
) As Boolean
'Uso
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

Parâmetros

Valor de retorno

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