A Sandcastle Documented Class Library

# MetricSetController UpdateScriptMetricSet Method

PUT /MetricSet/UpdateScriptMetricSet/ Update a script metric set.

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

    [HttpPutAttribute]
    [ActionNameAttribute("UpdateScriptMetricSet")]
    public IActionResult UpdateScriptMetricSet(
    	[FromBodyAttribute] UpdateScriptMetricSetOptions option,
    	Guid? sessionId = null
    )

    <HttpPutAttribute>
    <ActionNameAttribute("UpdateScriptMetricSet")>
    Public Function UpdateScriptMetricSet (
    	<FromBodyAttribute> option As UpdateScriptMetricSetOptions,
    	Optional sessionId As Guid? = Nothing
    ) As IActionResult

    public:
    [HttpPutAttribute]
    [ActionNameAttribute(L"UpdateScriptMetricSet")]
    IActionResult^ UpdateScriptMetricSet(
    	[FromBodyAttribute] UpdateScriptMetricSetOptions^ option,
    	Nullable<Guid> sessionId = nullptr
    )

    [<HttpPutAttribute>]
    [<ActionNameAttribute("UpdateScriptMetricSet")>]
    member UpdateScriptMetricSet :
            [<FromBodyAttribute>] option : UpdateScriptMetricSetOptions *
            ?sessionId : Nullable<Guid>
    (* Defaults:
            let _sessionId = defaultArg sessionId null
    *)
    -> IActionResult

#### Parameters

option
  Type: Dundas.BI.WebApi.Models
  UpdateScriptMetricSetOptions
  The option class containing the information to update.
sessionId (Optional)
  Type: System
  Nullable
  Guid
  Current session ID.

#### Return Value

Type: IActionResult
A MetricSetData Object containing the updated script measure.
See Also

#### Reference

MetricSetController Class
Dundas.BI.WebApi.Controllers Namespace