XML for Analysis 规范[22]

[入库:2005年8月18日] [更新:2007年3月25日]

本文简介:选择自 angelgavin 的 blog


requesttypes 映射

下表显示了 requesttypes 枚举值到 ole db 的映射。

ole db 映射 xml for analysis 请求类型
不适用 discover_datasources
idbproperties::getpropertyinfo

idbproperties::getproperties 函数

discover_properties
idbschemarowset::getschemas discover_schema_rowsets
不适用 discover_enumerators
idbinfo::getkeywords discover_keywords
idbinfo::getliteralinfo discover_literals
ole db 架构行集名称和定义在 ole db 规范的“附录 b:架构行集”中列出。 <架构行集常量>

ole db 到 xml 的数据类型映射

为便于参考,下表将 ole db 数据类型映射到已发布的 xml 架构类型。

有关 xml 架构类型的详细信息和定义,请参见 http://www.w3.org/tr/xmlschema-2/(英文)。要查看 xml 架构结构,请参见 w3c 的 web 站点。

ole db 类型 xml 架构类型
dbtype_i1 byte
dbtype_i2 short
dbtype_i4 int
dbtype_i8 long
dbtype_ui1 unsignedbyte
dbtype_ui2 unsignedshort
dbtype_ui4 unsignedint
dbtype_ui8 unsignedlong
dbtype_r4 float
dbtype_r8 double
dbtype_bool boolean
dbtype_cy decimal
dbtype_error string
dbtype_decimal decimal
dbtype_numeric decimal
dbtype_date date
dbtype_dbtimestamp time
dbtype_guid string
dbtype_bytes binary
dbtype_str string
dbtype_wstr string
dbtype_bstr string
dbtype_variant string

mddataset 数据类型到 ole db 的映射

下面是 mddataset 的 xml for analysis 数据类型到 ole db 的映射以及其它参考信息。

ole db 实现 xml for analysis 实现
ole db for olap 数据集类型

通过 imddataset 接口访问

mddataset 数据类型

本文关键:XML for Analysis 规范
 

本站最佳浏览方式为 分辨率 1024x768 IE 6.0(或更高版本的 IE浏览器)

go top