MeasureGroupCollection.GetByName Método
Gets the MeasureGroup that has the specified name from the collection.
Espacio de nombres: Microsoft.AnalysisServices
Ensamblado: Microsoft.AnalysisServices (en Microsoft.AnalysisServices.dll)
Sintaxis
'Declaración
Public Function GetByName ( _
name As String _
) As MeasureGroup
'Uso
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
Parámetros
- name
Tipo: System.String
The name of the MeasureGroup to return.
Valor devuelto
Tipo: Microsoft.AnalysisServices.MeasureGroup
The MeasureGroup if it exists in the collection.
Excepciones
Excepción | Condición |
---|---|
ItemNotFoundException | name does not exist in the collection. |