Open this page in the API Guide

IMetricSetService.AddAllElements 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 (25.1.0.1000)
Syntax
void AddAllElements(
	MetricSet metricSet,
	PlacementPosition placement
)

Parameters

metricSet
Type: Dundas.BI.Entities.MetricSets.MetricSet
The MetricSet to add the element to.
placement
Type: Dundas.BI.Entities.MetricSets.PlacementPosition
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 null.
InvalidSessionExceptionThe caller context is not associated with a valid session.
InvalidDynamicHierarchyOperationExceptionThe operation is not supported for dynamic hierarchies.
See Also