A Sandcastle Documented Class Library

# IMetricSetService AddParallelPeriodMeasure Method

Adds a Parallel Period measure to the given metric set and saves the metric set.

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

    MeasureUsage AddParallelPeriodMeasure(
    	MetricSet metricSet,
    	string name,
    	string targetMeasure,
    	string targetTimeHierarchyLevel,
    	int offsetInterval
    )

    Function AddParallelPeriodMeasure (
    	metricSet As MetricSet,
    	name As String,
    	targetMeasure As String,
    	targetTimeHierarchyLevel As String,
    	offsetInterval As Integer
    ) As MeasureUsage

    MeasureUsage^ AddParallelPeriodMeasure(
    	MetricSet^ metricSet,
    	String^ name,
    	String^ targetMeasure,
    	String^ targetTimeHierarchyLevel,
    	int offsetInterval
    )

    abstract AddParallelPeriodMeasure :
            metricSet : MetricSet *
            name : string *
            targetMeasure : string *
            targetTimeHierarchyLevel : string *
            offsetInterval : int -> MeasureUsage

#### Parameters

metricSet
  Type: Dundas.BI.Entities.MetricSets
  MetricSet
  The MetricSet to add the parallel measure to.
name
  Type: System
  String
  The name for the new measure.
targetMeasure
  Type: System
  String
  The target measure.
targetTimeHierarchyLevel
  Type: System
  String
  The target time hierarchy level.
offsetInterval
  Type: System
  Int32
  The time offset interval.

#### Return Value

Type: MeasureUsage
The newly added usage element.
Exceptions

Exception | Condition
--- | ---
ArgumentNullException | metricSet is .
ArgumentException | targetMeasure or targetTimeHierarchyLevel are not valid metric set element unique names.
InvalidSessionException | The caller context is not associated with a valid session.

See Also

#### Reference

IMetricSetService Interface
Dundas.BI.Entities.MetricSets Namespace