Freigeben über


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

Rückgabewert

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

Implementiert

IDataRecord. . :: . .GetString(Int32)