Condividi tramite


MeasureGroupCollection.GetByName(String) Method

Definition

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

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

Parameters

name
String

The name of the MeasureGroup to locate.

Returns

The MeasureGroup with the specified Name.

Exceptions

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

Applies to