共用方式為


Measures 屬性

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

命名空間:  Microsoft.AnalysisServices.AdomdClient
組件:  Microsoft.AnalysisServices.AdomdClient (在 Microsoft.AnalysisServices.AdomdClient.dll 中)

語法

'宣告
Public ReadOnly Property Measures As MeasureCollection
    Get
'用途
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

屬性值

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

備註

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.