Share via


CubeDef.Measures Property

Gets an instance of the MeasureCollection class that contains the measures for the CubeDef.

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

Syntax

'Declaration
Public ReadOnly Property Measures As MeasureCollection
public MeasureCollection Measures { get; }
public:
property MeasureCollection^ Measures {
    MeasureCollection^ get ();
}
/** @property */
public MeasureCollection get_Measures ()
public function get Measures () : MeasureCollection

Property Value

A MeasureCollection that contains the measures for the CubeDef.

Remarks

In Microsoft SQL Server 2005 Analysis Services (SSAS), each cube has at least one measure associated with it. The Measures property is used to retrieve a collection of Measures objects that represent the measures associated with a given cube.

Thread Safety

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

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

CubeDef Class
CubeDef Members
Microsoft.AnalysisServices.AdomdServer Namespace