Freigeben über


AdomdDataReader.GetString-Methode

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

Parameter

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

Rückgabewert

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

Implementiert

IDataRecord.GetString(Int32)

Siehe auch

Verweis

AdomdDataReader Klasse

Microsoft.AnalysisServices.AdomdClient-Namespace