| ole db 接口和命令 (续) |
xml 实现(续) |
| idbproperties::getproperties | discover 方法:
requesttype: discover_properties |
| idbproperties::getpropertyinfo | discover 方法:
requesttype: discover_properties |
| idbproperties::setproperties | execute 方法:
properties: <指定要更新的属性> 注意:属性必须具有读/写权限。 |
| igetdatasource::getdatasource | discover 方法:
requesttype: discover_datasources |
| imddataset::freeaxisinfo
imddataset::getaxisrowset imddataset::getcelldata imddataset::getspecification |
(非直接映射。)
要获得行集的元数据结构(如行和列信息),请使用 discover 方法: properties: content = schema |
| imdrangerowset::getrangerowset | (非直接映射。)
execute 方法: commands: <提供程序特定的查询语句> properties: beginrange = <整数值> endrange = <整数值> |
| isessionproperties::getproperties | discover 方法:
requesttype: discover_properties (会话是隐含的) |
| isessionproperties::setproperties | execute 方法:
properties: <指定要更新的属性> 注意:属性必须具有读/写权限。 |
属性映射
下表列出了一些常用的 ole db 属性及其等价的 xml for analysis 属性。
| ole db 属性 | xml 实现 |
| dbprop_init_providerstring ( dbpropset_dbinit 属性集) |
datasourceinfo 属性 |
| dbprop_commandtimeout dbprop_init_timeout dbprop_init_generaltimeout ( dbpropset_dbinit 属性集) |
timeout 属性 |