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


KpiCollection.Find Method

Gets the specified Kpi from the collection by its name.

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

Синтаксис

'Декларация
Public Function Find ( _
    index As String _
) As Kpi
public Kpi Find (
    string index
)
public:
Kpi^ Find (
    String^ index
)
public Kpi Find (
    String index
)
public function Find (
    index : String
) : Kpi

Параметры

  • index
    The name of the Kpi to find.

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

The Kpi.

Замечания

The Find method returns null if the object is not found, whereas the Item property throws an exception if the object is not found.

Синхронизация потоков

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Платформы

Платформы разработки

Список поддерживаемых платформ см. в разделе Hardware and Software Requirements for Installing SQL Server 2005.

Целевые платформы

Список поддерживаемых платформ см. в разделе Hardware and Software Requirements for Installing SQL Server 2005.

См. также

Справочник

KpiCollection Class
KpiCollection Members
Microsoft.AnalysisServices.AdomdClient Namespace