Share via


CubeDef Class

Represents the metadata for a cube.

Inheritance Hierarchy

System.Object
  Microsoft.AnalysisServices.AdomdClient.CubeDef

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

Syntax

'Declaration
Public NotInheritable Class CubeDef
'Usage
Dim instance As CubeDef
public sealed class CubeDef
public ref class CubeDef sealed
[<SealedAttribute>]
type CubeDef =  class end
public final class CubeDef

The CubeDef type exposes the following members.

Properties

  Name Description
Public property Caption Gets the caption of the CubeDef.
Public property Description Gets the description of the CubeDef.
Public property Dimensions Gets an instance of the DimensionCollection class that contains the dimensions for the CubeDef class.
Public property Kpis Gets the Key Performance Indicators (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 property LastProcessed Gets the date and time on which the CubeDef was last processed.
Public property LastUpdated Gets the date and time on which the CubeDef was last updated.
Public property Measures Gets an instance of the MeasureCollection class that contains the measures for the CubeDef.
Public property Name Gets the name of the CubeDef.
Public property NamedSets Gets an instance of the NamedSetCollection class that contains the named sets for the CubeDef.
Public property ParentConnection Gets an instance of the AdomdConnection class that contains the CubeDef.
Public property Properties Gets an instance of a PropertyCollection class that contains the properties associated with the CubeDef.
Public property Type Returns the CubeType of the cube, if supported by the provider.

Top

Methods

  Name Description
Public method Equals Determines whether two instances of Object are equal. (Overrides Object.Equals(Object).)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type, for use in hashing algorithms and data structures such as hash tables. (Overrides Object.GetHashCode().)
Public method GetSchemaObject(SchemaObjectType, String) Returns an object associated with the CubeDef from a specified schema rowset.
Public method GetSchemaObject(SchemaObjectType, String, Boolean) Returns an object associated with the CubeDef from a specified schema rowset.
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString Returns a String that represents the current CubeDef. (Overrides Object.ToString().)

Top

Operators

  Name Description
Public operatorStatic member Equality Determines whether two specified instances of CubeDef are equal.
Public operatorStatic member Inequality Determines whether two specified instances of CubeDef have different values.

Top

Remarks

In Microsoft SQL Server 2005 Analysis Services (SSAS), 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.

Thread Safety

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