Remarque
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de vous connecter ou de modifier des répertoires.
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de modifier des répertoires.
Gets the Kpi, with the specified name, from the collection.
Espace de noms : Microsoft.AnalysisServices
Assembly : Microsoft.AnalysisServices (en Microsoft.AnalysisServices.dll)
Syntaxe
'Déclaration
Public Function GetByName ( _
name As String _
) As Kpi
'Utilisation
Dim instance As KpiCollection
Dim name As String
Dim returnValue As Kpi
returnValue = instance.GetByName(name)
public Kpi GetByName(
string name
)
public:
Kpi^ GetByName(
String^ name
)
member GetByName :
name:string -> Kpi
public function GetByName(
name : String
) : Kpi
Paramètres
- name
Type : System.String
The name of the Kpi to be returned.
Valeur de retour
Type : Microsoft.AnalysisServices.Kpi
The Kpi with the name specified in name.
Exceptions
| Exception | Condition |
|---|---|
| ItemNotFoundException | name is not contained by the collection. |