Share via


MeasureCollection.GetByName(String) Method

Definition

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

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

Parameters

name
String

The name of the Measure to locate.

Returns

The Measure with the specified Name.

Exceptions

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

Applies to