GetDataTypeName 方法
Returns a String that contains the full name of the data type for the specified column.
命名空间: Microsoft.AnalysisServices.AdomdClient
程序集: Microsoft.AnalysisServices.AdomdClient(在 Microsoft.AnalysisServices.AdomdClient.dll 中)
语法
声明
Public Function GetDataTypeName ( _
index As Integer _
) As String
用法
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
参数
- index
类型:System. . :: . .Int32
The zero-based ordinal position of the column to find.
返回值
类型:System. . :: . .String
A String that contains the full name of the data type for the specified column.
实现
注释
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".)