Share via


AdomdDataReader.GetString Method

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

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

Syntax

'Declaration
Public Function GetString ( _
    ordinal As Integer _
) As String
'Usage
Dim instance As AdomdDataReader
Dim ordinal As Integer
Dim returnValue As String

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

Parameters

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

Return Value

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

Implements

IDataRecord.GetString(Int32)