Compartir a través de


MeasureCollection.Find Método

Returns the specified Measure from the collection.

Espacio de nombres:  Microsoft.AnalysisServices.AdomdServer
Ensamblado:  msmgdsrv (en msmgdsrv.dll)

Sintaxis

'Declaración
Public Function Find ( _
    name As String _
) As Measure
'Uso
Dim instance As MeasureCollection 
Dim name As String 
Dim returnValue As Measure 

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

Parámetros

Valor devuelto

Tipo: Microsoft.AnalysisServices.AdomdServer.Measure
The Measure with the specified name if found; otherwise, null.

Comentarios

The Find method returns null if the object is not found, while the Item property throws an exception if the object is not found.

Vea también

Referencia

MeasureCollection Clase

Espacio de nombres Microsoft.AnalysisServices.AdomdServer