共用方式為


AdomdDataReader.GetDataTypeName Method

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

命名空間: Microsoft.AnalysisServices.AdomdServer
組件: msmgdsrv (in msmgdsrv.dll)

語法

'宣告
Public Function GetDataTypeName ( _
    i As Integer _
) As String
public string GetDataTypeName (
    int i
)
public:
virtual String^ GetDataTypeName (
    int i
) sealed
public final String GetDataTypeName (
    int i
)
public final function GetDataTypeName (
    i : int
) : String

參數

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

傳回值

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

執行緒安全性

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.

平台

開發平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

目標平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

請參閱

參考

AdomdDataReader Class
AdomdDataReader Members
Microsoft.AnalysisServices.AdomdServer Namespace