KpiCollection.Add Method (String, String)

 

Updated: May 24, 2016

Creates and adds a Kpi, with the specified name and identifier, to the end of the collection.

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

public Kpi Add(
	string name,
	string id
)

Parameters

name
Type: System.String

The name of the Kpi to be added.

id
Type: System.String

The identifier of the Kpi to be added.

Return Value

Type: Microsoft.AnalysisServices.Kpi

The zero-based index at which the Kpi has been added.

Return to top
Show: