Condividi tramite


KpiCollection.Find Method

Gets the specified Kpi from the collection by its name.

Spazio dei nomi: Microsoft.AnalysisServices.AdomdClient
Assembly : Microsoft.AnalysisServices.AdomdClient (in microsoft.analysisservices.adomdclient.dll)

Sintassi

'Dichiarazione
Public Function Find ( _
    index As String _
) As Kpi
public Kpi Find (
    string index
)
public:
Kpi^ Find (
    String^ index
)
public Kpi Find (
    String index
)
public function Find (
    index : String
) : Kpi

Parametri

  • index
    The name of the Kpi to find.

Valore restituito

The Kpi.

Osservazioni

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

Thread Safety

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.

Piattaforme

Piattaforme di sviluppo

Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.

Piattaforme di destinazione

Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.

Vedere anche

Riferimento

KpiCollection Class
KpiCollection Members
Microsoft.AnalysisServices.AdomdClient Namespace