Share via


CubeDef.Dimensions Property

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

Namespace: Microsoft.AnalysisServices.AdomdClient
Assembly: Microsoft.AnalysisServices.AdomdClient (in microsoft.analysisservices.adomdclient.dll)

Syntax

'Declaration
Public ReadOnly Property Dimensions As DimensionCollection
public DimensionCollection Dimensions { get; }
public:
property DimensionCollection^ Dimensions {
    DimensionCollection^ get ();
}
/** @property */
public DimensionCollection get_Dimensions ()
public function get Dimensions () : DimensionCollection

Property Value

A DimensionCollection that contains dimensions for the CubeDef.

Remarks

In Microsoft SQL Server 2005 Analysis Services (SSAS), 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.

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

CubeDef Class
CubeDef Members
Microsoft.AnalysisServices.AdomdClient Namespace