CubeDef.Measures Property
Gets an instance of the MeasureCollection class that contains the measures for the CubeDef.
Namespace: Microsoft.AnalysisServices.AdomdClient
Assembly: Microsoft.AnalysisServices.AdomdClient (in Microsoft.AnalysisServices.AdomdClient.dll)
Syntax
'Declaration
Public ReadOnly Property Measures As MeasureCollection
Get
'Usage
Dim instance As CubeDef
Dim value As MeasureCollection
value = instance.Measures
public MeasureCollection Measures { get; }
public:
property MeasureCollection^ Measures {
MeasureCollection^ get ();
}
member Measures : MeasureCollection
function get Measures () : MeasureCollection
Property Value
Type: Microsoft.AnalysisServices.AdomdClient.MeasureCollection
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.