Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

CubeDef Class

Represents the metadata for a cube.


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

public sealed class CubeDef

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 Key Performance Indicators (KPIs) associated with the CubeDef.
Public propertyLastProcessedGets the date and time on which the CubeDef was last processed.
Public propertyLastUpdatedGets the date and time on which 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 propertyParentConnectionGets an instance of the AdomdConnection class that contains 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 methodEqualsDetermines whether two instances of Object are equal. (Overrides Object.Equals(Object).)
Public methodGetHashCodeServes as a hash function for a particular type, for use in hashing algorithms and data structures such as hash tables. (Overrides Object.GetHashCode.)
Public methodGetSchemaObject(SchemaObjectType, String)Returns an object associated with the CubeDef from a specified schema rowset.
Public methodGetSchemaObject(SchemaObjectType, String, Boolean)Returns an object associated with the CubeDef from a specified schema rowset.
Public methodGetType (Inherited from Object.)
Public methodToStringReturns a String that represents the current CubeDef. (Overrides Object.ToString.)

Public operatorStatic memberEqualityDetermines whether two specified instances of CubeDef are equal.
Public operatorStatic memberInequalityDetermines whether two specified instances of CubeDef have different values.

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.

Community Additions

© 2015 Microsoft