Share via


AdomdDataReader.Enumerator.Current 속성

Gets the current IDataRecord interface in the AdomdDataReader.

네임스페이스:  Microsoft.AnalysisServices.AdomdServer
어셈블리:  msmgdsrv(msmgdsrv.dll)

구문

‘선언
Public Overridable ReadOnly Property Current As IDataRecord 
    Get
‘사용 방법
Dim instance As AdomdDataReader.Enumerator 
Dim value As IDataRecord 

value = instance.Current
public virtual IDataRecord Current { get; }
public:
virtual property IDataRecord^ Current {
    IDataRecord^ get ();
}
abstract Current : IDataRecord 
override Current : IDataRecord
function get Current () : IDataRecord

속성 값

유형: System.Data.IDataRecord
The IDataRecord interface in the AdomdDataReader, if the enumerator has not passed the end of the records.

예외

예외 조건
[InvalidOperationException]

The enumerator is either currently before the first or after the last IDataRecord interface in the AdomdDataReader. For more information about this exception, see InvalidOperationException Class.

주의

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.

참고 항목

참조

AdomdDataReader.Enumerator 클래스

Microsoft.AnalysisServices.AdomdServer 네임스페이스