KpiCollection.GetByName Method (String)

 

Updated: May 24, 2016

Gets the Kpi, with the specified name, from the collection.

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

public Kpi GetByName(
	string name
)

Parameters

name
Type: System.String

The name of the Kpi to be returned.

Return Value

Type: Microsoft.AnalysisServices.Kpi

The Kpi with the name specified in name.

Exception Condition
ItemNotFoundException

name is not contained by the collection.

Return to top
Show: