Proprietà PerspectiveKpiCollection.Item (String)
Gets the PerspectiveKpi that has the specified identifier from the collection.
Spazio dei nomi Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Sintassi
'Dichiarazione
Public ReadOnly Default Property Item ( _
id As String _
) As PerspectiveKpi
Get
'Utilizzo
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 supporta l'utilizzo di proprietà indicizzate, ma non la dichiarazione di nuove proprietà.
Parametri
- id
Tipo: System.String
The identifier of the PerspectiveKpi to return.
Valore proprietà
Tipo: Microsoft.AnalysisServices.PerspectiveKpi
The PerspectiveKpi specified by the identifier.
Eccezioni
Eccezione | Condizione |
---|---|
ArgumentNullException | kpiID is a null reference (Nothing in Visual Basic). |
ItemNotFoundException | kpiID does not exist in the collection. |