IMetricSetServiceReplaceElement Method (MetricSet, String, String) |
Replace an existing metric set element with the another metric set element, or an underlying
IAnalysisStructure analysis element.
Namespace:
Dundas.BI.Entities.MetricSets
Assembly:
Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (9.0.0.1000)
Syntaxvoid ReplaceElement(
MetricSet metricSet,
string replaceElementUniqueName,
string elementUniqueName
)
Sub ReplaceElement (
metricSet As MetricSet,
replaceElementUniqueName As String,
elementUniqueName As String
)
void ReplaceElement(
MetricSet^ metricSet,
String^ replaceElementUniqueName,
String^ elementUniqueName
)
abstract ReplaceElement :
metricSet : MetricSet *
replaceElementUniqueName : string *
elementUniqueName : string -> unit
Parameters
- metricSet
- Type: Dundas.BI.Entities.MetricSetsMetricSet
The metric set. - replaceElementUniqueName
- Type: SystemString
The unique name of the element to be replaced. - elementUniqueName
- Type: SystemString
The unique name of the element to be used as replacement.
Exceptions| Exception | Condition |
|---|
| ArgumentNullException | metricSet is . |
| ArgumentException | replaceElementUniqueName or elementUniqueName could not be found or are incompatible with a replacement operation.
|
| InvalidSessionException | The caller context is not associated with a valid session. |
| InvalidDynamicHierarchyOperationException | The operation is not supported for dynamic hierarchies. |
See Also