KpiCollection.GetByName(String) Method

Definition

Gets the Kpi that has the specified name from the collection.

public Microsoft.AnalysisServices.Kpi GetByName (string name);
member this.GetByName : string -> Microsoft.AnalysisServices.Kpi
Public Function GetByName (name As String) As Kpi

Parameters

name
String

The name of the Kpi to locate.

Returns

Kpi

The Kpi with the specified Name.

Exceptions

The collection doesn't contain a Kpi with the specified name.

Applies to