共用方式為


PerspectiveKpiCollection.Item[] Property

Definition

Overloads

Item[String]

Gets the PerspectiveKpi, with the specified KpiID, from the collection.

Item[Int32]

Gets the PerspectiveKpi, at the specified index, from the collection.

Item[String]

Gets the PerspectiveKpi, with the specified KpiID, from the collection.

public Microsoft.AnalysisServices.PerspectiveKpi this[string id] { get; }
member this.Item(string) : Microsoft.AnalysisServices.PerspectiveKpi
Default Public ReadOnly Property Item(id As String) As PerspectiveKpi

Parameters

id
String

The KpiID of the PerspectiveKpi to be returned.

Property Value

The PerspectiveKpi with the specified KpiID.

Exceptions

The collection doesn't contain a PerspectiveKpi with the specified KpiID.

Applies to

Item[Int32]

Gets the PerspectiveKpi, at the specified index, from the collection.

public Microsoft.AnalysisServices.PerspectiveKpi this[int index] { get; }
member this.Item(int) : Microsoft.AnalysisServices.PerspectiveKpi
Default Public ReadOnly Property Item(index As Integer) As PerspectiveKpi

Parameters

index
Int32

The zero-based index of the PerspectiveKpi to be returned.

Property Value

The PerspectiveKpi at the specified index.

Exceptions

The specified index is not a valid value (less than zero or bigger then the total number of elements).

Applies to