Partilhar via


Classe Measure

Represents a measure within a cube or measure group.

Hierarquia de herança

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

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

Sintaxe

'Declaração
Public NotInheritable Class Measure _
    Implements IDisposable, IMetadataObject
'Uso
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

O tipo Measure expõe os membros a seguir.

Propriedades

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

Início

Métodos

  Nome Descrição
Método público {dtor} Releases all resources used by the Measure.
Método público Dispose Releases all resources used by the Measure.
Método público Equals (Herdado de Object.)
Método protegido Finalize (Herdado de Object.)
Método público GetHashCode (Herdado de Object.)
Método público GetType (Herdado de Object.)
Método protegido MemberwiseClone (Herdado de Object.)
Método público ToString (Herdado de Object.)

Início

Comentários

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.

Segurança de thread

Qualquer membro público static (Shared no Visual Basic) desse tipo é seguro para threads. Não há garantia de que qualquer membro de instância seja seguro para threads.