Partilhar via


Método FindByName

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

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

Sintaxe

'Declaração
Public Function FindByName ( _
    name As String _
) As MeasureGroup
'Uso
Dim instance As MeasureGroupCollection
Dim name As String
Dim returnValue As MeasureGroup

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

Parâmetros

Valor de retorno

Tipo: Microsoft.AnalysisServices. . :: . .MeasureGroup
The MeasureGroup if it exists in the collection; otherwise, a null reference (Nothing in Visual Basic).