Data Source Property MDPROP_RANGEROWSET
The data source property MDPROP_RANGEROWSET returns information on whether the provider supports updating of cells through the IMDRangeRowset interface:
-
If the value of this property is MDPROPVAL_RR_NORANGEROWSET, then the provider does not support getting the range rowset — that is, the interface IMDRangeRowset is not supported.
-
If the value is MDPROPVAL_RR_READONLY, then the provider supports the IMDRangeRowset interface, but the returned rowset is read-only.
-
If it returns MDPROPVAL_RR_UPDATE, then the provider supports IMDRangeRowset interface with at least one column (typically the VALUE column) that can be updated — that is, the provider supports the IRowsetChange interface on the range rowset.
Consumers should not use the range rowset purely to fetch cell data (even though it is possible to do it). The IMDDataset::GetCellData method is more optimized for the typical navigation requirements of an OLAP application. Moreover, because the range rowset may have to support the update interfaces, it may not be as efficient as fetching cell data by using IMDDataset::GetCellData.