Partager via


Classe Measure

Represents a measure within a cube or measure group.

Hiérarchie d'héritage

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

Espace de noms :  Microsoft.AnalysisServices.AdomdServer
Assembly :  msmgdsrv (en msmgdsrv.dll)

Syntaxe

'Déclaration
Public NotInheritable Class Measure _
    Implements IDisposable, IMetadataObject
'Utilisation
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

Le type Measure expose les membres suivants.

Propriétés

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

Haut de la page

Méthodes

  Nom Description
Méthode publique {dtor} Releases all resources used by the Measure.
Méthode publique Dispose Releases all resources used by the Measure.
Méthode publique Equals (hérité de Object.)
Méthode protégée Finalize (hérité de Object.)
Méthode publique GetHashCode (hérité de Object.)
Méthode publique GetType (hérité de Object.)
Méthode protégée MemberwiseClone (hérité de Object.)
Méthode publique ToString (hérité de Object.)

Haut de la page

Notes

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.

Sécurité des threads

Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.