Sdílet prostřednictvím


AdomdDataReader.GetValue Method

Returns the value for the specified column in its native format.

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

Syntax

'Declaration
Public Function GetValue ( _
    ordinal As Integer _
) As Object
'Usage
Dim instance As AdomdDataReader
Dim ordinal As Integer
Dim returnValue As Object

returnValue = instance.GetValue(ordinal)
public Object GetValue(
    int ordinal
)
public:
virtual Object^ GetValue(
    int ordinal
) sealed
abstract GetValue : 
        ordinal:int -> Object 
override GetValue : 
        ordinal:int -> Object 
public final function GetValue(
    ordinal : int
) : Object

Parameters

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

Return Value

Type: System.Object
An Object that contains the value of the specified column.

Implements

IDataRecord.GetValue(Int32)