A Sandcastle Documented Class Library

# OlapMeasure Class

Class that represents an OLAP measure.
Inheritance Hierarchy
System
Object
Dundas.BI.Data.Metadata.Olap
OlapElement
Dundas.BI.Data.Metadata.Olap
OlapMeasure

Namespace: Dundas.BI.Data.Metadata.Olap
Assembly: Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (10.0.0.1002)
Syntax
C#
VB
C++
F#
Copy

    public sealed class OlapMeasure : OlapElement,
    	IMeasure, IAnalysisElement, IElement, IUniqueName, IAggregatableElement,
    	IElementContainer

    Public NotInheritable Class OlapMeasure
    	Inherits OlapElement
    	Implements IMeasure, IAnalysisElement, IElement, IUniqueName,
    	IAggregatableElement, IElementContainer

    public ref class OlapMeasure sealed : public OlapElement,
    	IMeasure, IAnalysisElement, IElement, IUniqueName, IAggregatableElement,
    	IElementContainer

    [<SealedAttribute>]
    type OlapMeasure =
        class
            inherit OlapElement
            interface IMeasure
            interface IAnalysisElement
            interface IElement
            interface IUniqueName
            interface IAggregatableElement
            interface IElementContainer
        end

The OlapMeasure type exposes the following members.

Constructors

| Name | Description
--- | --- | ---
| OlapMeasure(IOlapCube, String) | Initializes a new instance of the OlapMeasure class.
| OlapMeasure(IOlapCube, String, IReadOnlyCollection IElementContainer ) | Initializes a new instance of the OlapMeasure class.
| OlapMeasure(IOlapCube, String, DataType, String, OlapAggregationType, String, IReadOnlyCollection IElementContainer ) | Initializes a new instance of the OlapMeasure class.

Top
Properties

| Name | Description
--- | --- | ---
| AggregationType | Gets the type of the aggregation.
| AnalysisStructure | Gets the parent analysis structure. (Inherited from OlapElement.)
| AncestryUniqueName | Gets the unique name of the container by prefixing it with unique names of all the ancestors.
| Caption | Gets or sets the caption. (Inherited from OlapElement.)
| Category | Gets the potential analysis category for the current instance. (Overrides OlapElement Category.)
| Containers | Gets the container objects used alter the presentation of the elements using a folder-like approach. (Inherited from OlapElement.)
| DataProvider | Gets the data provider. (Inherited from OlapElement.)
| DataType | Gets the element data type.
| DefaultAggregator | Gets or sets the default aggregator.
| Description | Gets or sets the description. (Inherited from OlapElement.)
| EntityId | Gets the parent entity ID. (Inherited from OlapElement.)
| Expression | Gets or sets the OLAP native expression.
| FormatInfo | Gets the numeric format for the current instance.
| IsHierarchy | Gets a value indicating whether this instance is a hierarchy. (Inherited from OlapElement.)
| IsMeasure | Gets a value indicating whether this instance is a measure. (Inherited from OlapElement.)
| Item | Gets the Object with the specified name. (Inherited from OlapElement.)
| Name | Gets or sets the name. (Inherited from OlapElement.)
| Parent | Gets or sets the parent object. (Inherited from OlapElement.)
| ParentContainer | Gets the parent containers, if the current instance is a child.
| ParentCube | Gets the parent cube. (Inherited from OlapElement.)
| Properties | Gets the various uncategorized properties. (Inherited from OlapElement.)
| ResultType | Gets the type of the result.
| SupportedAggregators | Gets or sets the supported aggregators.
| UniqueName | Gets the object unique name. (Inherited from OlapElement.)
| Units | Gets the OLAP native units.

Top
Methods

| Name | Description
--- | --- | ---
| CompareTo | Compares current instance with argument instance. (Inherited from OlapElement.)
| GetHashCode | Serves as the default hash function. (Inherited from OlapElement.)
| ToString | Returns a string that represents the current object. (Inherited from OlapElement.)

Top
See Also

#### Reference

Dundas.BI.Data.Metadata.Olap Namespace