Compartilhar via


Propriedade do RDL Item (String)

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

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

Sintaxe

'Declaração
Public ReadOnly Default Property Item ( _
    id As String _
) As PerspectiveKpi
    Get
'Uso
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 dá suporte ao uso de propriedades indexadas, mas não à declaração de propriedades novas.

Parâmetros

Valor da propriedade

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

Exceções

Exceção Condição
ArgumentNullException

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

ItemNotFoundException

kpiID does not exist in the collection.