다음을 통해 공유


KpiCollection.Enumerator.Current Property

Gets the current Kpi in the KpiCollection.

네임스페이스: Microsoft.AnalysisServices.AdomdClient
어셈블리: Microsoft.AnalysisServices.AdomdClient (in microsoft.analysisservices.adomdclient.dll)

구문

‘선언
Public ReadOnly Property Current As Kpi
public Kpi Current { get; }
public:
property Kpi^ Current {
    Kpi^ get ();
}
/** @property */
public Kpi get_Current ()
public function get Current () : Kpi

속성 값

The Kpi in the KpiCollection, if the enumerator has not passed the end of the collection.

예외

예외 유형 상태
System.InvalidOperationException

The enumerator is currently before the first or after the last Kpi in the KpiCollection.

주의

After creating an enumerator or after a Reset, MoveNext must be called to advance the enumerator to the first element of the collection before reading the value of Current; otherwise, Current is undefined.

스레드 보안

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.

플랫폼

개발 플랫폼

지원되는 플랫폼 목록은 SQL Server 2005 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.

대상 플랫폼

지원되는 플랫폼 목록은 SQL Server 2005 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.

참고 항목

참조

KpiCollection.Enumerator Structure
KpiCollection.Enumerator Members
Microsoft.AnalysisServices.AdomdClient Namespace