Freigeben über


AdomdDataReader.GetDataTypeName-Methode

Returns a String that contains the full name of the data type for the specified column.

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

Syntax

'Declaration
Public Function GetDataTypeName ( _
    index As Integer _
) As String
'Usage
Dim instance As AdomdDataReader 
Dim index As Integer 
Dim returnValue As String 

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

Parameter

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

Rückgabewert

Typ: System.String
A String that contains the full name of the data type for the specified column.

Implementiert

IDataRecord.GetDataTypeName(Int32)

Hinweise

The data type information can differ from the type information returned by GetFieldType, especially where the underlying data types do not map one for one to the runtime types supported by the language. (For example, GetDataTypeName may be "integer", but Type.Name may be "Int32".)

Siehe auch

Verweis

AdomdDataReader Klasse

Microsoft.AnalysisServices.AdomdClient-Namespace