Sdílet prostřednictvím


Measure Class

Represents a measure within a cube or measure group.

Inheritance Hierarchy

System.Object
  Microsoft.AnalysisServices.AdomdServer.Measure

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

Syntax

'Declaration
Public NotInheritable Class Measure _
    Implements IDisposable, IMetadataObject
'Usage
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

The Measure type exposes the following members.

Properties

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

Top

Methods

  Name Description
Public method {dtor} Releases all resources used by the Measure.
Public method Dispose Releases all resources used by the Measure.
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

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.

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.