Compartilhar via


Método AdomdDataReader.GetDataTypeName

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

Namespace:  Microsoft.AnalysisServices.AdomdServer
Assembly:  msmgdsrv (em msmgdsrv.dll)

Sintaxe

'Declaração
Public Function GetDataTypeName ( _
    i As Integer _
) As String
'Uso
Dim instance As AdomdDataReader 
Dim i As Integer 
Dim returnValue As String 

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

Parâmetros

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

Valor de retorno

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

Implementa

IDataRecord.GetDataTypeName(Int32)

Comentários

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".)

Consulte também

Referência

AdomdDataReader Classe

Namespace Microsoft.AnalysisServices.AdomdServer