Share via


Dimension Class

Represents a dimension within a cube.

Inheritance Hierarchy

System.Object
  Microsoft.AnalysisServices.AdomdClient.Dimension

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

Syntax

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

The Dimension type exposes the following members.

Properties

  Name Description
Public property AttributeHierarchies Gets the collection of attribute hierarchies. This member is not supported for versions of Analysis Services earlier than Microsoft SQL Server 2005 Analysis Services (SSAS).
Public property Caption Gets the caption of the Dimension.
Public property Description Gets the description of the Dimension.
Public property DimensionType Gets the dimension type of the Dimension.
Public property Hierarchies Gets a HierarchyCollection that contains the dimension hierarchies for the Dimension.
Public property Name Gets the name of the Dimension.
Public property ParentCube Gets a CubeDef that contains the Dimension.
Public property Properties Gets a PropertyCollection that contains the properties associated with the Dimension.
Public property UniqueName Gets the unique name of the Dimension.
Public property WriteEnabled Gets a value that indicates whether the Dimension is write-enabled.

Top

Methods

  Name Description
Public method Equals Determines whether this instance of Dimension is equal to another instance of Dimension. (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 GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString Returns a String that represents the current Object. (Overrides Object.ToString().)

Top

Operators

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

Top

Remarks

In ADOMD.NET, a dimension is a collection of hierarchies.

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.