A Sandcastle Documented Class Library

# DataProviderController GetProvider Method

GET /DataProvider/{id} Gets a 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

    [HttpGetAttribute]
    [ActionNameAttribute("Index")]
    public IActionResult GetProvider(
    	Guid id,
    	Guid? sessionId = null
    )

    <HttpGetAttribute>
    <ActionNameAttribute("Index")>
    Public Function GetProvider (
    	id As Guid,
    	Optional sessionId As Guid? = Nothing
    ) As IActionResult

    public:
    [HttpGetAttribute]
    [ActionNameAttribute(L"Index")]
    IActionResult^ GetProvider(
    	Guid id,
    	Nullable<Guid> sessionId = nullptr
    )

    [<HttpGetAttribute>]
    [<ActionNameAttribute("Index")>]
    member GetProvider :
            id : Guid *
            ?sessionId : Nullable<Guid>
    (* Defaults:
            let _sessionId = defaultArg sessionId null
    *)
    -> IActionResult

#### Parameters

id
  Type: System
  Guid
  The ID of the data provider to get.
sessionId (Optional)
  Type: System
  Nullable
  Guid
  The current session ID.

#### Return Value

Type: IActionResult
A DataProviderData object, or a status code indicating the problem.
See Also

#### Reference

DataProviderController Class
Dundas.BI.WebApi.Controllers Namespace