Share via


TraceCollection.FindByName(String) Method

Definition

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

public Microsoft.AnalysisServices.Tabular.Trace FindByName (string name);
member this.FindByName : string -> Microsoft.AnalysisServices.Tabular.Trace
Public Function FindByName (name As String) As Trace

Parameters

name
String

The name of the Trace to locate.

Returns

The Trace with the specified name, if it exists in the collection; otherwise, a null reference (Nothing in Visual Basic).

Applies to