Compartilhar via


Método FindByName

Gets the Measure, with 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 Measure
'Uso
Dim instance As MeasureCollection
Dim name As String
Dim returnValue As Measure

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

Parâmetros

Valor de retorno

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