Freigeben über


MeasureGroupCollection.GetByName-Methode

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

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

Syntax

'Declaration
Public Function GetByName ( _
    name As String _
) As MeasureGroup
'Usage
Dim instance As MeasureGroupCollection 
Dim name As String 
Dim returnValue As MeasureGroup 

returnValue = instance.GetByName(name)
public MeasureGroup GetByName(
    string name
)
public:
MeasureGroup^ GetByName(
    String^ name
)
member GetByName : 
        name:string -> MeasureGroup
public function GetByName(
    name : String
) : MeasureGroup

Parameter

Rückgabewert

Typ: Microsoft.AnalysisServices.MeasureGroup
The MeasureGroup if it exists in the collection.

Ausnahmen

Ausnahme Bedingung
ItemNotFoundException

name does not exist in the collection.

Siehe auch

Verweis

MeasureGroupCollection Klasse

Microsoft.AnalysisServices-Namespace