다음을 통해 공유


AdomdDataReader.GetInt16 메서드

Returns an Int16 that contains the value from the specified column.

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

구문

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

returnValue = instance.GetInt16(ordinal)
public short GetInt16(
    int ordinal
)
public:
virtual short GetInt16(
    int ordinal
) sealed
abstract GetInt16 : 
        ordinal:int -> int16  
override GetInt16 : 
        ordinal:int -> int16
public final function GetInt16(
    ordinal : int
) : short

매개 변수

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

반환 값

유형: System.Int16
An Int16 that contains the value of the specified column.

구현

IDataRecord.GetInt16(Int32)

참고 항목

참조

AdomdDataReader 클래스

Microsoft.AnalysisServices.AdomdClient 네임스페이스