Share via


KpiCollection.Add Method (Kpi)

Adds a Kpi to the end of the collection.

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

Syntax

'Declaration
Public Function Add ( _
    item As Kpi _
) As Integer
'Usage
Dim instance As KpiCollection
Dim item As Kpi
Dim returnValue As Integer

returnValue = instance.Add(item)
public int Add(
    Kpi item
)
public:
int Add(
    Kpi^ item
)
member Add : 
        item:Kpi -> int 
public function Add(
    item : Kpi
) : int

Parameters

Return Value

Type: System.Int32
The zero-based index at which the Kpi has been added.