Share via


AdomdDataReader.GetName Method

Returns the name of the specified column.

Namespace:  Microsoft.AnalysisServices.AdomdClient
Assembly:  Microsoft.AnalysisServices.AdomdClient (in Microsoft.AnalysisServices.AdomdClient.dll)

Syntax

'Declaration
Public Function GetName ( _
    ordinal As Integer _
) As String
'Usage
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

Parameters

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

Return Value

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

Implements

IDataRecord.GetName(Int32)