Share via


TraceCollection.Contains Method (Trace)

Indicates whether the collection contains a specified Trace.

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

Syntax

'Declaration
Public Function Contains ( _
    item As Trace _
) As Boolean
'Usage
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

Parameters

Return Value

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

See Also

Reference

TraceCollection Class

Contains Overload

Microsoft.AnalysisServices Namespace