A Sandcastle Documented Class Library

# MetricSet AddParallelPeriodMeasure Method (String, MeasureUsage, ITimeHierarchyLevel, Int32)

Add a new parallel period measure, based on an existing metric set 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 AddParallelPeriodMeasure(
    	string name,
    	MeasureUsage targetMeasure,
    	ITimeHierarchyLevel timeInterval,
    	int offset
    )

    Public Overridable Function AddParallelPeriodMeasure (
    	name As String,
    	targetMeasure As MeasureUsage,
    	timeInterval As ITimeHierarchyLevel,
    	offset As Integer
    ) As MeasureUsage

    public:
    virtual MeasureUsage^ AddParallelPeriodMeasure(
    	String^ name,
    	MeasureUsage^ targetMeasure,
    	ITimeHierarchyLevel^ timeInterval,
    	int offset
    )

    abstract AddParallelPeriodMeasure :
            name : string *
            targetMeasure : MeasureUsage *
            timeInterval : ITimeHierarchyLevel *
            offset : int -> MeasureUsage
    override AddParallelPeriodMeasure :
            name : string *
            targetMeasure : MeasureUsage *
            timeInterval : ITimeHierarchyLevel *
            offset : int -> MeasureUsage

#### Parameters

name
  Type: System
  String
  The name for the new parallel period measure.
targetMeasure
  Type: Dundas.BI.Entities.MetricSets
  MeasureUsage
  The target measure.
timeInterval
  Type: Dundas.BI.Data.Metadata
  ITimeHierarchyLevel
  The time interval for the lag.
offset
  Type: System
  Int32
  The time offset value.

#### Return Value

Type: MeasureUsage
The measure usage.
Exceptions

Exception | Condition
--- | ---
ArgumentNullException | targetMeasure or timeInterval is .
ArgumentException | targetMeasure or timeInterval 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
AddParallelPeriodMeasure Overload
Dundas.BI.Entities.MetricSets Namespace