Méthode MeasureGroupCollection.FindByName
Gets the MeasureGroup that has the specified name from the collection.
Espace de noms : Microsoft.AnalysisServices
Assembly : Microsoft.AnalysisServices (en Microsoft.AnalysisServices.dll)
Syntaxe
'Déclaration
Public Function FindByName ( _
name As String _
) As MeasureGroup
'Utilisation
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
Paramètres
- name
Type : System.String
The name of the MeasureGroup to return.
Valeur de retour
Type : Microsoft.AnalysisServices.MeasureGroup
The MeasureGroup if it exists in the collection; otherwise, a null reference (Nothing in Visual Basic).