OlapMeasure Constructor (IOlapCube, String, DataType, String, OlapAggregationType, String, IReadOnlyCollectionIElementContainer)

Initializes a new instance of the OlapMeasure class.

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
public OlapMeasure(
	IOlapCube parentCube,
	string uniqueName,
	DataType dataType,
	string expression,
	OlapAggregationType aggregationType,
	string units,
	IReadOnlyCollection<IElementContainer> containers
)

Parameters

parentCube
Type: Dundas.BI.Data.Metadata.OlapIOlapCube
The parent cube.
uniqueName
Type: SystemString
The element unique name.
dataType
Type: Dundas.BI.Data.MetadataDataType
Type of the measure data.
expression
Type: SystemString
The expression.
aggregationType
Type: Dundas.BI.Data.Metadata.OlapOlapAggregationType
Type of the aggregation.
units
Type: SystemString
The units.
containers
Type: System.Collections.GenericIReadOnlyCollectionIElementContainer
The measure container.
Exceptions
ExceptionCondition
ArgumentNullExceptionparentCube or uniqueName is .
ArgumentExceptionuniqueName is an empty string.
See Also