MetricSetService.replaceAnalysisStructure Method
        
 Replaces the analysis structure for the specified metric set.
 
         
        Parameters
        
            - metricSetId
            
 
            - 
                
Type: String
The ID of the metric set to replace the analysis structure on. 
            - newStructureId
            
 
            - 
                
Type: String
The ID of the new structure to replace it with. 
            - elementsMap
            
 
            - 
                
Type: Array
ElementType: KeyValuePair
The mapping of string-string between source name and native structure name. 
        
        Return Value
        
Type: jQuery.Promise
        
Value: dundas.entities.MetricSet
        
A promise object that is resolved when the call is complete.
 If successful, the created dundas.entities.MetricSet is returned.