Partager via


KpiCollection.Find Method

Gets the specified Kpi from the collection by its name.

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

Syntaxe

'Déclaration
Public Function Find ( _
    name As String _
) As Kpi
public Kpi Find (
    string name
)
public:
Kpi^ Find (
    String^ name
)
public Kpi Find (
    String name
)
public function Find (
    name : String
) : Kpi

Paramètres

  • name
    The name of the Kpi to find.

Valeur de retour

The Kpi.

Notes

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

Sécurité des threads

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Plateformes

Plateformes de développement

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Plateformes cibles

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Voir aussi

Référence

KpiCollection Class
KpiCollection Members
Microsoft.AnalysisServices.AdomdServer Namespace