Condividi tramite


AdomdDataReader.GetDataTypeName Method

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

Spazio dei nomi: Microsoft.AnalysisServices.AdomdClient
Assembly : Microsoft.AnalysisServices.AdomdClient (in microsoft.analysisservices.adomdclient.dll)

Sintassi

'Dichiarazione
Public Function GetDataTypeName ( _
    index As Integer _
) As String
public string GetDataTypeName (
    int index
)
public:
virtual String^ GetDataTypeName (
    int index
) sealed
public final String GetDataTypeName (
    int index
)
public final function GetDataTypeName (
    index : int
) : String

Parametri

  • index
    The zero-based ordinal position of the column to find.

Valore restituito

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

Osservazioni

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

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Piattaforme

Piattaforme di sviluppo

Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.

Piattaforme di destinazione

Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.

Vedere anche

Riferimento

AdomdDataReader Class
AdomdDataReader Members
Microsoft.AnalysisServices.AdomdClient Namespace