Поделиться через


Метод KpiCollection.IndexOf (Kpi)

Gets the index of a specified Kpi.

Пространство имен:  Microsoft.AnalysisServices
Сборка:  Microsoft.AnalysisServices (в Microsoft.AnalysisServices.dll)

Синтаксис

'Декларация
Public Function IndexOf ( _
    item As Kpi _
) As Integer
'Применение
Dim instance As KpiCollection 
Dim item As Kpi 
Dim returnValue As Integer 

returnValue = instance.IndexOf(item)
public int IndexOf(
    Kpi item
)
public:
int IndexOf(
    Kpi^ item
)
member IndexOf : 
        item:Kpi -> int
public function IndexOf(
    item : Kpi
) : int

Параметры

Возвращаемое значение

Тип: System.Int32
The zero-based index of the Kpi if the object is found; otherwise, -1.

См. также

Справочник

KpiCollection Класс

Перегрузка IndexOf

Пространство имен Microsoft.AnalysisServices