Measure 类

Represents a measure within a cube or measure group.

继承层次结构

System. . :: . .Object
  Microsoft.AnalysisServices.AdomdServer..::..Measure

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

语法

声明
Public NotInheritable Class Measure _
    Implements IDisposable, IMetadataObject
用法
Dim instance As Measure
public sealed class Measure : IDisposable, 
    IMetadataObject
public ref class Measure sealed : IDisposable, 
    IMetadataObject
[<SealedAttribute>]
type Measure =  
    class
        interface IDisposable
        interface IMetadataObject
    end
public final class Measure implements IDisposable, IMetadataObject

Measure 类型公开以下成员。

属性

  名称 说明
公共属性 Caption Gets the caption of the Measure.
公共属性 Description Gets the description of the Measure.
公共属性 DisplayFolder This member is reserved for future use.
公共属性 Expression Gets the MDX expression that is used to aggregate the Measure.
公共属性 Name Gets the name of the Measure.
公共属性 NumericPrecision Gets the numeric precision value for the Measure.
公共属性 NumericScale Gets the numeric scale for the Measure.
公共属性 ParentCube Gets a CubeDef that contains the Measure.
公共属性 Properties Gets a AdomdPropertyCollection that contains the properties associated with the Measure.
公共属性 UniqueName Gets the unique name of the Measure.
公共属性 Units Gets a description of the unit of measure for the Measure.

页首

方法

  名称 说明
公共方法 {dtor} Releases all resources used by the Measure.
公共方法 Dispose Releases all resources used by the Measure.
公共方法 Equals (从 Object 继承。)
受保护方法 Finalize (从 Object 继承。)
公共方法 GetHashCode (从 Object 继承。)
公共方法 GetType (从 Object 继承。)
受保护方法 MemberwiseClone (从 Object 继承。)
公共方法 ToString (从 Object 继承。)

页首

注释

A measure represents the data within a fact table that is being organized and aggregated by the cube.

In ADOMD.NET, the Measure represents the metadata for a measure within a cube. A measure is not explicitly identified in a cellset, because a measure is treated as a member for querying purposes and is represented by a Measure within the Measures collection of a CubeDef.

线程安全

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