IMetricSetServiceAddAllElements Method

Adds all the compatible elements from the underlying IAnalysisStructure to the specified placement axis, then saves the metric set.

Namespace:  Dundas.BI.Entities.MetricSets
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (24.3.0.1000)
Syntax
void AddAllElements(
	MetricSet metricSet,
	PlacementPosition placement
)

Parameters

metricSet
Type: Dundas.BI.Entities.MetricSetsMetricSet
The MetricSet to add the element to.
placement
Type: Dundas.BI.Entities.MetricSetsPlacementPosition
The placement position where the elements are to be added to.
Exceptions
ExceptionCondition
InvalidOperationExceptionThe metric set is not checked out to the caller.
ArgumentNullExceptionmetricSet is .
InvalidSessionExceptionThe caller context is not associated with a valid session.
InvalidDynamicHierarchyOperationExceptionThe operation is not supported for dynamic hierarchies.
See Also