Share via


PerspectiveKpiCollection.Item Property (String)

Gets the PerspectiveKpi that has the specified identifier from the collection.

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

Syntax

'Declaration
Public ReadOnly Default Property Item ( _
    id As String _
) As PerspectiveKpi 
    Get
'Usage
Dim instance As PerspectiveKpiCollection 
Dim id As String 
Dim value As PerspectiveKpi 

value = instance(id)
public PerspectiveKpi this[
    string id
] { get; }
public:
property PerspectiveKpi^ default[String^ id] {
    PerspectiveKpi^ get (String^ id);
}
member Item : PerspectiveKpi
JScript supports the use of indexed properties, but not the declaration of new ones.

Parameters

Property Value

Type: Microsoft.AnalysisServices.PerspectiveKpi
The PerspectiveKpi specified by the identifier.

Exceptions

Exception Condition
ArgumentNullException

kpiID is a null reference (Nothing in Visual Basic).

ItemNotFoundException

kpiID does not exist in the collection.

See Also

Reference

PerspectiveKpiCollection Class

Item Overload

Microsoft.AnalysisServices Namespace