A Sandcastle Documented Class Library

# MetricSetController AddAllElementsToMetricSet Method

POST /MetricSet/AddAllElements/{id} Adds all the elements to the metric set with the specified placement position.

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("AddAllElements")]
    public IActionResult AddAllElementsToMetricSet(
    	Guid id,
    	[FromBodyAttribute] PlacementPosition placement,
    	Guid? sessionId = null
    )

    <HttpPostAttribute>
    <ActionNameAttribute("AddAllElements")>
    Public Function AddAllElementsToMetricSet (
    	id As Guid,
    	<FromBodyAttribute> placement As PlacementPosition,
    	Optional sessionId As Guid? = Nothing
    ) As IActionResult

    public:
    [HttpPostAttribute]
    [ActionNameAttribute(L"AddAllElements")]
    IActionResult^ AddAllElementsToMetricSet(
    	Guid id,
    	[FromBodyAttribute] PlacementPosition placement,
    	Nullable<Guid> sessionId = nullptr
    )

    [<HttpPostAttribute>]
    [<ActionNameAttribute("AddAllElements")>]
    member AddAllElementsToMetricSet :
            id : Guid *
            [<FromBodyAttribute>] placement : PlacementPosition *
            ?sessionId : Nullable<Guid>
    (* Defaults:
            let _sessionId = defaultArg sessionId null
    *)
    -> IActionResult

#### Parameters

id
  Type: System
  Guid
  The ID of the metric set to add the elements to.
placement
  Type: Dundas.BI.Entities.MetricSets
  PlacementPosition
  The placement position to add all the elements to.
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