Compartilhar via


Método Contains (TraceEvent)

Indicates whether the collection contains a specified TraceEvent.

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

Sintaxe

'Declaração
Public Function Contains ( _
    item As TraceEvent _
) As Boolean
'Uso
Dim instance As TraceEventCollection
Dim item As TraceEvent
Dim returnValue As Boolean

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

Parâmetros

Valor de retorno

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