Export (0) Print
Expand All

AdomdDataReader.GetDataTypeName Method

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)

public string GetDataTypeName(
	int index
)

Parameters

index
Type: Int32
The zero-based ordinal position of the column to find.

Return Value

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

Implements

IDataRecordGetDataTypeName(Int32)

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

Community Additions

ADD
Show:
© 2014 Microsoft