Partager via


Propriété CubeDef.Dimensions

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

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

Syntaxe

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

Valeur de propriété

Type : Microsoft.AnalysisServices.AdomdClient.DimensionCollection
A DimensionCollection that contains dimensions for the CubeDef.

Notes

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.

[!REMARQUE]

The Dimensions property does not include the Measures dimension.

Voir aussi

Référence

CubeDef Classe

Espace de noms Microsoft.AnalysisServices.AdomdClient