Dimension 类

Represents a dimension within a cube.

继承层次结构

System. . :: . .Object
  Microsoft.AnalysisServices.AdomdClient..::..Dimension

命名空间:  Microsoft.AnalysisServices.AdomdClient
程序集:  Microsoft.AnalysisServices.AdomdClient(在 Microsoft.AnalysisServices.AdomdClient.dll 中)

语法

声明
Public NotInheritable Class Dimension
用法
Dim instance As Dimension
public sealed class Dimension
public ref class Dimension sealed
[<SealedAttribute>]
type Dimension =  class end
public final class Dimension

Dimension 类型公开以下成员。

属性

  名称 说明
公共属性 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).
公共属性 Caption Gets the caption of the Dimension.
公共属性 Description Gets the description of the Dimension.
公共属性 DimensionType Gets the dimension type of the Dimension.
公共属性 Hierarchies Gets a HierarchyCollection that contains the dimension hierarchies for the Dimension.
公共属性 Name Gets the name of the Dimension.
公共属性 ParentCube Gets a CubeDef that contains the Dimension.
公共属性 Properties Gets a PropertyCollection that contains the properties associated with the Dimension.
公共属性 UniqueName Gets the unique name of the Dimension.
公共属性 WriteEnabled Gets a value that indicates whether the Dimension is write-enabled.

页首

方法

  名称 说明
公共方法 Equals Determines whether this instance of Dimension is equal to another instance of Dimension. (覆盖 Object. . :: . .Equals(Object)。)
受保护方法 Finalize (从 Object 继承。)
公共方法 GetHashCode Serves as a hash function for a particular type, for use in hashing algorithms and data structures such as hash tables. (覆盖 Object. . :: . .GetHashCode() () () ()。)
公共方法 GetType (从 Object 继承。)
受保护方法 MemberwiseClone (从 Object 继承。)
公共方法 ToString Returns a String that represents the current Object. (覆盖 Object. . :: . .ToString() () () ()。)

页首

运算符

  名称 说明
公共运算符静态成员 Equality Determines whether two specified instances of Dimension are equal.
公共运算符静态成员 Inequality Determines whether two specified instances of Dimension have different values.

页首

注释

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

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。