A Sandcastle Documented Class Library

# MetricSetController ReplaceAnalysisStructure Method

POST /MetricSet/ReplaceAnalysisStructure/{id} Replaces the metric set's analysis structure with a different one.

Namespace: Dundas.BI.WebApi.Controllers
Assembly: Dundas.BI.WebApi (in Dundas.BI.WebApi.dll) Version: 2.0.0.0 (10.0.0.1002)
Syntax
C#
VB
C++
F#
Copy

    [HttpPostAttribute]
    [ActionNameAttribute("ReplaceAnalysisStructure")]
    public IActionResult ReplaceAnalysisStructure(
    	Guid id,
    	[FromBodyAttribute] ReplaceAnalysisStructureOptions options,
    	Guid? sessionId = null
    )

    <HttpPostAttribute>
    <ActionNameAttribute("ReplaceAnalysisStructure")>
    Public Function ReplaceAnalysisStructure (
    	id As Guid,
    	<FromBodyAttribute> options As ReplaceAnalysisStructureOptions,
    	Optional sessionId As Guid? = Nothing
    ) As IActionResult

    public:
    [HttpPostAttribute]
    [ActionNameAttribute(L"ReplaceAnalysisStructure")]
    IActionResult^ ReplaceAnalysisStructure(
    	Guid id,
    	[FromBodyAttribute] ReplaceAnalysisStructureOptions^ options,
    	Nullable<Guid> sessionId = nullptr
    )

    [<HttpPostAttribute>]
    [<ActionNameAttribute("ReplaceAnalysisStructure")>]
    member ReplaceAnalysisStructure :
            id : Guid *
            [<FromBodyAttribute>] options : ReplaceAnalysisStructureOptions *
            ?sessionId : Nullable<Guid>
    (* Defaults:
            let _sessionId = defaultArg sessionId null
    *)
    -> IActionResult

#### Parameters

id
  Type: System
  Guid
  The ID of the metric set to replace the analysis structure for.
options
  Type: Dundas.BI.WebApi.Models
  ReplaceAnalysisStructureOptions
  The options to replace the structure with.
sessionId (Optional)
  Type: System
  Nullable
  Guid
  Current session ID.

#### Return Value

Type: IActionResult
A MetricSetData object containing the updated metric set data, or a status code indicating the problem.
See Also

#### Reference

MetricSetController Class
Dundas.BI.WebApi.Controllers Namespace