A Sandcastle Documented Class Library

# DataProviderController GetServers Method

POST /DataProvider/Servers/{id} Gets the servers for the specified data provider.

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("Servers")]
    public Task<IActionResult> GetServers(
    	Guid id,
    	[FromBodyAttribute] GetServersOptions options,
    	Guid? sessionId = null
    )

    <HttpPostAttribute>
    <ActionNameAttribute("Servers")>
    Public Function GetServers (
    	id As Guid,
    	<FromBodyAttribute> options As GetServersOptions,
    	Optional sessionId As Guid? = Nothing
    ) As Task(Of IActionResult)

    public:
    [HttpPostAttribute]
    [ActionNameAttribute(L"Servers")]
    Task<IActionResult^>^ GetServers(
    	Guid id,
    	[FromBodyAttribute] GetServersOptions^ options,
    	Nullable<Guid> sessionId = nullptr
    )

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

#### Parameters

id
  Type: System
  Guid
  The ID of the data provider to get the servers for.
options
  Type: Dundas.BI.WebApi.Models
  GetServersOptions
  The options.
sessionId (Optional)
  Type: System
  Nullable
  Guid
  The current session ID.

#### Return Value

Type: Task
IActionResult
An array of String object, or a status code indicating the problem.
See Also

#### Reference

DataProviderController Class
Dundas.BI.WebApi.Controllers Namespace