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 | |
---|---|---|
Caption | Gets the caption of the Measure. | |
Description | Gets the description of the Measure. | |
DisplayFolder | This member is reserved for future use. | |
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. |
Top
Methods
Name | Description | |
---|---|---|
{dtor} | Releases all resources used by the Measure. | |
Dispose | Releases all resources used by the Measure. | |
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
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.