A Sandcastle Documented Class Library

# MetricSet AddDynamicMeasure Method

Adds a new dynamic measure to the current instance.

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 MeasureUsage AddDynamicMeasure(
    	string name,
    	string description
    )

    Public Function AddDynamicMeasure (
    	name As String,
    	description As String
    ) As MeasureUsage

    public:
    MeasureUsage^ AddDynamicMeasure(
    	String^ name,
    	String^ description
    )

    member AddDynamicMeasure :
            name : string *
            description : string -> MeasureUsage

#### Parameters

name
  Type: System
  String
  The dynamic measure name.
description
  Type: System
  String
  The dynamic measure description.

#### Return Value

Type: MeasureUsage
The measure usage element.
Exceptions

Exception | Condition
--- | ---
InvalidOperationException | The metric set is set for raw data retrieval, or there is no underlying cube, or the underlying cube has no measures.

See Also

#### Reference

MetricSet Class
Dundas.BI.Entities.MetricSets Namespace