TraceCollection.GetByName(String) Method

Definition

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

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

Parameters

name
String

The name of the Trace to locate.

Returns

The Trace with the specified Name.

Exceptions

The collection doesn't contain a Trace with the specified name.

Applies to