We recommend using Visual Studio 2017

CubeDef Class

Represents the metadata for a cube.


Namespace:  Microsoft.AnalysisServices.AdomdServer
Assembly:  msmgdsrv (in msmgdsrv.dll)

public sealed class CubeDef : IDisposable, 

The CubeDef type exposes the following members.

Public propertyCaptionGets the caption of the CubeDef.
Public propertyDescriptionGets the description of the CubeDef.
Public propertyDimensionsGets an instance of the DimensionCollection class that contains the dimensions for the CubeDef class.
Public propertyKpisGets the KPIs associated with the CubeDef. This member is not supported for versions of Analysis Services earlier than Microsoft SQL Server 2005 Analysis Services (SSAS).
Public propertyLastProcessedGets the date and time that the CubeDef was last processed.
Public propertyLastUpdatedGets the date and time that the CubeDef was last updated.
Public propertyMeasuresGets an instance of the MeasureCollection class that contains the measures for the CubeDef.
Public propertyNameGets the name of the CubeDef.
Public propertyNamedSetsGets an instance of the NamedSetCollection class that contains the named sets for the CubeDef.
Public propertyPropertiesGets an instance of a PropertyCollection class that contains the properties associated with the CubeDef.
Public propertyTypeReturns the CubeType of the cube, if supported by the provider.
Public propertyUniqueNameGets the unique name of the CubeDef.

Public method{dtor}Releases all resources used by the CubeDef.
Public methodDisposeReleases all resources used by the CubeDef.
Public methodEquals (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetSchemaObjectReturns an object associated with the CubeDef from a specified schema rowset.
Public methodGetType (Inherited from Object.)
Public methodToString (Inherited from Object.)

In Analysis Services, a cube is a collection of measures and dimensions.

In ADOMD.NET, the CubeDef represents only the metadata of a cube. You cannot retrieve cell data from a CubeDef; instead, this object provides a mechanism for retrieving metadata about a given cube as well as its dimensions, measures, and named sets for a client application.

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