共用方式為


CubeDef.Measures 屬性

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

命名空間:  Microsoft.AnalysisServices.AdomdServer
組件:  msmgdsrv (在 msmgdsrv.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.AdomdServer.MeasureCollection
A MeasureCollection that contains the measures for the CubeDef.

備註

In Analysis Services, 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.

請參閱

參考

CubeDef 類別

Microsoft.AnalysisServices.AdomdServer 命名空間