다음을 통해 공유


AdomdDataReader.GetDecimal 메서드

Returns a Decimal that contains the value from the specified column.

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

구문

‘선언
Public Function GetDecimal ( _
    ordinal As Integer _
) As Decimal
‘사용 방법
Dim instance As AdomdDataReader 
Dim ordinal As Integer 
Dim returnValue As Decimal 

returnValue = instance.GetDecimal(ordinal)
public decimal GetDecimal(
    int ordinal
)
public:
virtual Decimal GetDecimal(
    int ordinal
) sealed
abstract GetDecimal : 
        ordinal:int -> decimal  
override GetDecimal : 
        ordinal:int -> decimal
public final function GetDecimal(
    ordinal : int
) : decimal

매개 변수

  • ordinal
    유형: System.Int32
    The zero-based ordinal position of the column to be retrieved.

반환 값

유형: System.Decimal
A Decimal that contains the value of the specified column.

구현

IDataRecord.GetDecimal(Int32)

참고 항목

참조

AdomdDataReader 클래스

Microsoft.AnalysisServices.AdomdClient 네임스페이스