We recommend using Visual Studio 2017

Measure Class

Represents a measure within a cube or measure group.


Namespace:  Microsoft.AnalysisServices.AdomdServer
Assembly:  msmgdsrv (in msmgdsrv.dll)

public sealed class Measure : IDisposable, 

The Measure type exposes the following members.

Public propertyCaptionGets the caption of the Measure.
Public propertyDescriptionGets the description of the Measure.
Public propertyDisplayFolderGets the display folder of the Measure.
Public propertyExpressionGets the MDX expression that is used to aggregate the Measure.
Public propertyNameGets the name of the Measure.
Public propertyNumericPrecisionGets the numeric precision value for the Measure.
Public propertyNumericScaleGets the numeric scale for the Measure.
Public propertyParentCubeGets a CubeDef that contains the Measure.
Public propertyPropertiesGets a AdomdPropertyCollection that contains the properties associated with the Measure.
Public propertyUniqueNameGets the unique name of the Measure.
Public propertyUnitsGets a description of the unit of measure for the Measure.

Public method{dtor}Releases all resources used by the Measure.
Public methodDisposeReleases all resources used by the Measure.
Public methodEquals (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodToString (Inherited from Object.)

A measure represents the data within a fact table that is being organized and aggregated by the cube.

In ADOMD.NET, the Measure represents the metadata for a measure within a cube. A measure is not explicitly identified in a cellset, because a measure is treated as a member for querying purposes and is represented by a Measure within the Measures collection of a CubeDef.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.