Partager via


Propriété Measures

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

Espace de noms :  Microsoft.AnalysisServices.AdomdClient
Assembly :  Microsoft.AnalysisServices.AdomdClient (en Microsoft.AnalysisServices.AdomdClient.dll)

Syntaxe

'Déclaration
Public ReadOnly Property Measures As MeasureCollection
    Get
'Utilisation
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

Valeur de propriété

Type : Microsoft.AnalysisServices.AdomdClient. . :: . .MeasureCollection
A MeasureCollection that contains the measures for the CubeDef.

Notes

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.