共用方式為


CubeDef.Dimensions 屬性

Gets an instance of the DimensionCollection class that contains the dimensions for the CubeDef class.

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

語法

'宣告
Public ReadOnly Property Dimensions As DimensionCollection 
    Get
'用途
Dim instance As CubeDef 
Dim value As DimensionCollection 

value = instance.Dimensions
public DimensionCollection Dimensions { get; }
public:
property DimensionCollection^ Dimensions {
    DimensionCollection^ get ();
}
member Dimensions : DimensionCollection
function get Dimensions () : DimensionCollection

屬性值

型別:Microsoft.AnalysisServices.AdomdServer.DimensionCollection
A DimensionCollection that contains dimensions for the CubeDef.

備註

In Analysis Services, each cube has at least one dimension associated with it. The Dimensions property is used to retrieve a collection of Dimension objects that are associated with a given cube.

Note   The Dimensions property does not include the Measures dimension.

請參閱

參考

CubeDef 類別

Microsoft.AnalysisServices.AdomdServer 命名空間