Share via


AdomdConnection.Cubes Property

Gets an instance of a CubeCollection that represents the collection of cubes contained by an analytical data source.

Namespace:  Microsoft.AnalysisServices.AdomdClient
Assembly:  Microsoft.AnalysisServices.AdomdClient (in Microsoft.AnalysisServices.AdomdClient.dll)

Syntax

'Declaration
<BrowsableAttribute(False)> _
Public ReadOnly Property Cubes As CubeCollection
    Get
'Usage
Dim instance As AdomdConnection
Dim value As CubeCollection

value = instance.Cubes
[BrowsableAttribute(false)]
public CubeCollection Cubes { get; }
[BrowsableAttribute(false)]
public:
property CubeCollection^ Cubes {
    CubeCollection^ get ();
}
[<BrowsableAttribute(false)>]
member Cubes : CubeCollection
function get Cubes () : CubeCollection

Property Value

Type: Microsoft.AnalysisServices.AdomdClient.CubeCollection
A CubeCollection that contains the cubes for a multidimensional data source.

Exceptions

Exception Condition
AdomdCacheExpiredException

The cubes were changed on the server after the connection was established.

Remarks

Online analytical processing (OLAP) administrators are able to view dimension cubes, as well as regular cubes. This ability enables administrators to browse dimension structure and members for dimensions that do not belong to a cube. The name of the dimensions starts with a dollar sign ($) character.