IMetricSetServiceReplaceElement Method (MetricSet, String, Guid, String, String) | 
 
            Replaces the specified element with a new hierarchy level from a specified structure.
            
 
    Namespace: 
   Dundas.BI.Entities.MetricSets
    Assembly:
   Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (25.3.0.1000)
Syntaxvoid ReplaceElement(
	MetricSet metricSet,
	string replaceElementUniqueName,
	Guid parentId,
	string elementUniqueName,
	string levelUniqueName
)
Sub ReplaceElement ( 
	metricSet As MetricSet,
	replaceElementUniqueName As String,
	parentId As Guid,
	elementUniqueName As String,
	levelUniqueName As String
)
void ReplaceElement(
	MetricSet^ metricSet, 
	String^ replaceElementUniqueName, 
	Guid parentId, 
	String^ elementUniqueName, 
	String^ levelUniqueName
)
abstract ReplaceElement : 
        metricSet : MetricSet * 
        replaceElementUniqueName : string * 
        parentId : Guid * 
        elementUniqueName : string * 
        levelUniqueName : string -> unit 
Parameters
- metricSet
 - Type: Dundas.BI.Entities.MetricSetsMetricSet
The metric set. - replaceElementUniqueName
 - Type: SystemString
The unique name of the element to be replaced. - parentId
 - Type: SystemGuid
The parent ID for the new element. - elementUniqueName
 - Type: SystemString
The name of the new hierarchy element. - levelUniqueName
 - Type: SystemString
The unique name of hierarchy level to be used as default level. 
Exceptions
See Also