IMetricSetServiceAddMeasure Method |
Adds a
MeasureUsage element to the given metric set and saves it.
Namespace: Dundas.BI.Entities.MetricSetsAssembly: Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (26.2.0.1000)
SyntaxMeasureUsage AddMeasure(
MetricSet metricSet,
Guid parentId,
string elementName,
AggregatorFunctions aggregator
)
Function AddMeasure (
metricSet As MetricSet,
parentId As Guid,
elementName As String,
aggregator As AggregatorFunctions
) As MeasureUsage
MeasureUsage^ AddMeasure(
MetricSet^ metricSet,
Guid parentId,
String^ elementName,
AggregatorFunctions aggregator
)
abstract AddMeasure :
metricSet : MetricSet *
parentId : Guid *
elementName : string *
aggregator : AggregatorFunctions -> MeasureUsage Parameters
- metricSet MetricSet
- The MetricSet to add the element to.
- parentId Guid
- The ID of the element parent structure.
- elementName String
- The name of the element (column/measure/hierarchy) to add.
- aggregator AggregatorFunctions
- The element aggregator.
Return Value
MeasureUsageThe added usage element.
Exceptions
See Also