IBIMonitoringStore.CreateKpi Method
Saves a key performance indicator (KPI) object as a content type in a SharePoint list.
Namespace: Microsoft.PerformancePoint.Scorecards
Assembly: Microsoft.PerformancePoint.Scorecards.Client (in Microsoft.PerformancePoint.Scorecards.Client.dll)
Syntax
'Declaration
Function CreateKpi ( _
listUrl As String, _
kpi As Kpi _
) As Kpi
'Usage
Dim instance As IBIMonitoringStore
Dim listUrl As String
Dim kpi As Kpi
Dim returnValue As Kpi
returnValue = instance.CreateKpi(listUrl, _
kpi)
Kpi CreateKpi(
string listUrl,
Kpi kpi
)
Parameters
listUrl
Type: System.StringThe server-relative URL of the SharePoint list to save the object to. Example: /BI Center/Lists/PerformancePoint Content.
kpi
Type: Microsoft.PerformancePoint.Scorecards.KpiThe KPI object to save, which specifies a value for the required Name property.
Return Value
Type: Microsoft.PerformancePoint.Scorecards.Kpi
The new object.