Share via


Name (Measure Interface)

Note

  This feature will be removed in the next version of Microsoft SQL Server. Do not use this feature in new development work, and modify applications that currently use this feature as soon as possible.

The Name property of the Measure interface contains the name of the measure object.

Applies To:clsAggregationMeasure, clsCubeMeasure, clsPartitionMeasure

Data Type

String

Access

Read/write (Objects can be renamed after their initial creation.)

Example

Use the following code to create a cube measure object and name it MyMeasure:

'Assume an object (dsoCube) of ClassType clsCube exists
Dim dsoMeasure As DSO.Measure
Set dsoMeasure = dsoCube.Measures.AddNew("MyMeasure")