Data Source Property MDPROP_RANGEROWSET

OLE DB Programmer's Reference

Based on the following conditions, the data source property MDPROP_RANGEROWSET returns information about whether or not the provider supports updating of cells through the IMDRangeRowset interface:

  • If the value of this property is MDPROPVAL_RR_NORANGEROWSET, the provider does not support getting the range rowset—that is, IMDRangeRowset is not supported.
  • If the value is MDPROPVAL_RR_READONLY, the provider supports IMDRangeRowset but the returned rowset is read-only.
  • If the value is MDPROPVAL_RR_UPDATE, the provider supports IMDRangeRowset with at least one column (typically the VALUE column) that can be updated—that is, the provider supports IRowsetChange on the range rowset.

Consumers should not use the range rowset purely to fetch cell data (even though it is possible to do it). IMDDataset::GetCellData is better optimized for the typical navigation requirements of an OLAP application. Moreover, because the range rowset might have to support the update interfaces, it might not be as efficient as fetching cell data by calling IMDDataset::GetCellData.

1998-2001 Microsoft Corporation. All rights reserved.



Microsoft Ole Db 2.0 Programmer's Reference and Data Access SDK
Microsoft OLE DB 2.0 Programmers Reference and Data Access SDK (Microsoft Professional Editions)
ISBN: 0735605904
EAN: 2147483647
Year: 1998
Pages: 1083

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net