Partager via


Méthode MeasureCollection.Find

Returns the specified Measure from the collection.

Espace de noms :  Microsoft.AnalysisServices.AdomdServer
Assembly :  msmgdsrv (en msmgdsrv.dll)

Syntaxe

'Déclaration
Public Function Find ( _
    name As String _
) As Measure
'Utilisation
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

Paramètres

Valeur de retour

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

Notes

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

Voir aussi

Référence

MeasureCollection Classe

Espace de noms Microsoft.AnalysisServices.AdomdServer