共用方式為


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 Gets the display folder of the Measure.
公用屬性 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。)
公用方法 GetHashCode (繼承自 Object。)
公用方法 GetType (繼承自 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) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。

請參閱

參考

Microsoft.AnalysisServices.AdomdServer 命名空間