Dela via


Dimension Class

Represents a dimension within a cube.

Inheritance Hierarchy

System.Object
  Microsoft.AnalysisServices.AdomdServer.Dimension

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

Syntax

'Declaration
Public NotInheritable Class Dimension _
    Implements IDisposable, IMetadataObject
'Usage
Dim instance As Dimension
public sealed class Dimension : IDisposable, 
    IMetadataObject
public ref class Dimension sealed : IDisposable, 
    IMetadataObject
[<SealedAttribute>]
type Dimension =  
    class
        interface IDisposable
        interface IMetadataObject
    end
public final class Dimension implements IDisposable, IMetadataObject

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 {dtor} Releases all resources used by the Dimension.
Public method Dispose Releases all resources used by the Dimension.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

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.