共用方式為


AdomdConnection.Cubes 屬性

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

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

語法

'宣告
<BrowsableAttribute(False)> _
Public ReadOnly Property Cubes As CubeCollection 
    Get
'用途
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

屬性值

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

例外狀況

例外狀況 條件
AdomdCacheExpiredException

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

備註

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.

請參閱

參考

AdomdConnection 類別

Microsoft.AnalysisServices.AdomdClient 命名空間