Dela via


PerspectiveKpiCollection.Add Method (String)

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

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

Syntax

'Declaration
Public Function Add ( _
    id As String _
) As PerspectiveKpi
'Usage
Dim instance As PerspectiveKpiCollection
Dim id As String
Dim returnValue As PerspectiveKpi

returnValue = instance.Add(id)
public PerspectiveKpi Add(
    string id
)
public:
PerspectiveKpi^ Add(
    String^ id
)
member Add : 
        id:string -> PerspectiveKpi 
public function Add(
    id : String
) : PerspectiveKpi

Parameters

Return Value

Type: Microsoft.AnalysisServices.PerspectiveKpi
The zero-based index at which the PerspectiveKpi has been added.