The Measure interface supports the following properties.
| Property | Description |
|---|---|
| AggregateFunction | Sets or returns a value corresponding to the type of aggregation function used for a measure. |
| ClassType | Returns an enumeration constant identifying the specific object type. |
| Description | Sets or returns the measure description. |
| FormatString | Sets or returns the format used to display the measure values. |
| IsInternal | Indicates whether the measure is internal to the cube, that is, it is used only for calculations of other measures. |
| IsValid | Indicates whether the measure object is valid. |
| Name | Sets or returns the measure name. |
| OrdinalPosition | Returns the ordinal position of the measure in the parent object’s Measures collection. |
| Parent | Returns a reference to the parent MDStore object. |
| SourceColumn | Sets or returns the name of the column in the measure fact table that is aggregated. |
| SourceColumnType | Sets or returns the measure source column data type. |
| SubClassType | Returns an enumeration constant identifying the subclass type of the object. |
The following table shows whether the property is read/write (R/W) or read-only (R) for different objects.
Property |
clsCube Measure |
clsPartition Measure |
clsAggregation Measure |
|---|---|---|---|
| AggregateFunction | R/W* | R | R |
| ClassType | R | R | R |
| Description | R/W | R | R |
| FormatString | R/W* | R | R |
| IsInternal | R/W* | R | R |
| IsValid | R | R | R |
| Name | R/W (R after the object has been named) | R/W (R after the object has been named) | R/W (R after the object has been named) |
| OrdinalPosition | R | R | R |
| Parent | R | R | R |
| SourceColumn | R/W | R/W | R |
| SourceColumnType | R/W* | R | R |
| SubClassType | R | R | R |
* This property is read-only (R) for virtual cubes (that is, those of SubClassType sbclsVirtual).