A Sandcastle Documented Class Library

# ServerController SetServerGroup Method

PUT /Server/ServerGroup/ Sets the server group of the specified server.

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("ServerGroup")]
    public IActionResult SetServerGroup(
    	[FromBodyAttribute] SetServerGroupOptions setServerGroupOptions,
    	Guid? sessionId = null
    )

    <HttpPutAttribute>
    <ActionNameAttribute("ServerGroup")>
    Public Function SetServerGroup (
    	<FromBodyAttribute> setServerGroupOptions As SetServerGroupOptions,
    	Optional sessionId As Guid? = Nothing
    ) As IActionResult

    public:
    [HttpPutAttribute]
    [ActionNameAttribute(L"ServerGroup")]
    IActionResult^ SetServerGroup(
    	[FromBodyAttribute] SetServerGroupOptions^ setServerGroupOptions,
    	Nullable<Guid> sessionId = nullptr
    )

    [<HttpPutAttribute>]
    [<ActionNameAttribute("ServerGroup")>]
    member SetServerGroup :
            [<FromBodyAttribute>] setServerGroupOptions : SetServerGroupOptions *
            ?sessionId : Nullable<Guid>
    (* Defaults:
            let _sessionId = defaultArg sessionId null
    *)
    -> IActionResult

#### Parameters

setServerGroupOptions
  Type: Dundas.BI.WebApi.Models
  SetServerGroupOptions
  The option of setting a server group.
sessionId (Optional)
  Type: System
  Nullable
  Guid
  Current session ID.

#### Return Value

Type: IActionResult
A status code indicating the problem.
See Also

#### Reference

ServerController Class
Dundas.BI.WebApi.Controllers Namespace