Share via


TraceCollection.Find Method

Gets the Trace that has the specified identifier from the collection.

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

Syntax

'Declaration
Public Function Find ( _
    id As String _
) As Trace
'Usage
Dim instance As TraceCollection 
Dim id As String 
Dim returnValue As Trace 

returnValue = instance.Find(id)
public Trace Find(
    string id
)
public:
Trace^ Find(
    String^ id
)
member Find : 
        id:string -> Trace
public function Find(
    id : String
) : Trace

Parameters

Return Value

Type: Microsoft.AnalysisServices.Trace
The Trace if it exists in the collection; otherwise, a null reference (Nothing in Visual Basic).

See Also

Reference

TraceCollection Class

Microsoft.AnalysisServices Namespace