KpiCollection.Find Method (String)

 

Gets the specified Kpi from the collection by its name.

Namespace:   Microsoft.AnalysisServices.AdomdClient
Assembly:  Microsoft.AnalysisServices.AdomdClient (in Microsoft.AnalysisServices.AdomdClient.dll)

Syntax

public Kpi Find(
    string index
)
public:
Kpi^ Find(
    String^ index
)
member Find : 
        index:string -> Kpi
Public Function Find (
    index As String
) As Kpi

Parameters

Return Value

Type: Microsoft.AnalysisServices.AdomdClient.Kpi

The Key Performance Indicator object.

Remarks

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

See Also

KpiCollection Class
Microsoft.AnalysisServices.AdomdClient Namespace

Return to top