Compartilhar 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
public bool Contains (
    Trace item
)
public:
bool Contains (
    Trace^ item
)
public boolean Contains (
    Trace item
)
public function Contains (
    item : Trace
) : boolean

Parameters

  • item
    The Trace to locate.

Return Value

true if the Trace exists in the collection; otherwise, false.

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

TraceCollection Class
TraceCollection Members
Microsoft.AnalysisServices Namespace