다음을 통해 공유


AdomdDataReader.GetName 메서드

Returns the name of the specified column.

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

구문

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

returnValue = instance.GetName(ordinal)
public string GetName(
    int ordinal
)
public:
virtual String^ GetName(
    int ordinal
) sealed
abstract GetName : 
        ordinal:int -> string  
override GetName : 
        ordinal:int -> string
public final function GetName(
    ordinal : int
) : String

매개 변수

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

반환 값

유형: System.String
A String that contains the name of the specified column.

구현

IDataRecord.GetName(Int32)

참고 항목

참조

AdomdDataReader 클래스

Microsoft.AnalysisServices.AdomdClient 네임스페이스