Share via


Clase Measure

Represents a measure within a cube or measure group.

Jerarquía de herencia

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

Espacio de nombres:  Microsoft.AnalysisServices.AdomdServer
Ensamblado:  msmgdsrv (en msmgdsrv.dll)

Sintaxis

'Declaración
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

El tipo Measure expone los siguientes miembros.

Propiedades

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

Arriba

Métodos

  Nombre Descripción
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 (Se hereda de Object.)
Método protegido Finalize (Se hereda de Object.)
Método público GetHashCode (Se hereda de Object.)
Método público GetType (Se hereda de Object.)
Método protegido MemberwiseClone (Se hereda de Object.)
Método público ToString (Se hereda de Object.)

Arriba

Comentarios

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.

Seguridad para subprocesos

Cualquier miembro público static (Shared en Visual Basic) de este tipo es seguro para subprocesos. No se garantiza que los miembros de instancia sean seguros para subprocesos.