Condividi tramite


Data Source Property MDPROP_RANGEROWSET

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 IRowsetChangeon 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.