A Sandcastle Documented Class Library

# MetricSet AddParallelSlicedMeasure Method

Add a new parallel sliced measure, based on an existing measure.

Namespace: Dundas.BI.Entities.MetricSets
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 virtual MeasureUsage AddParallelSlicedMeasure(
    	string name,
    	MeasureUsage targetMeasure
    )

    Public Overridable Function AddParallelSlicedMeasure (
    	name As String,
    	targetMeasure As MeasureUsage
    ) As MeasureUsage

    public:
    virtual MeasureUsage^ AddParallelSlicedMeasure(
    	String^ name,
    	MeasureUsage^ targetMeasure
    )

    abstract AddParallelSlicedMeasure :
            name : string *
            targetMeasure : MeasureUsage -> MeasureUsage
    override AddParallelSlicedMeasure :
            name : string *
            targetMeasure : MeasureUsage -> MeasureUsage

#### Parameters

name
  Type: System
  String
  The name for the new parallel sliced measure.
targetMeasure
  Type: Dundas.BI.Entities.MetricSets
  MeasureUsage
  The target measure for the slicer comparison.

#### Return Value

Type: MeasureUsage
The measure usage.
Exceptions

Exception | Condition
--- | ---
ArgumentException | targetMeasure does not belong to the current instance.
InvalidOperationException | The current instance is set for raw data retrieval and derived measures are not allowed in such a case.

See Also

#### Reference

MetricSet Class
Dundas.BI.Entities.MetricSets Namespace