A Sandcastle Documented Class Library

# SessionController KeepAlive Method

POST /Session/KeepAlive/ Keep the current session, or a specified session, alive.

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("KeepAlive")]
    public IActionResult KeepAlive(
    	[FromBodyAttribute] KeepAliveSessionOptions options,
    	Guid? sessionId = null
    )

    <HttpPostAttribute>
    <ActionNameAttribute("KeepAlive")>
    Public Function KeepAlive (
    	<FromBodyAttribute> options As KeepAliveSessionOptions,
    	Optional sessionId As Guid? = Nothing
    ) As IActionResult

    public:
    [HttpPostAttribute]
    [ActionNameAttribute(L"KeepAlive")]
    IActionResult^ KeepAlive(
    	[FromBodyAttribute] KeepAliveSessionOptions^ options,
    	Nullable<Guid> sessionId = nullptr
    )

    [<HttpPostAttribute>]
    [<ActionNameAttribute("KeepAlive")>]
    member KeepAlive :
            [<FromBodyAttribute>] options : KeepAliveSessionOptions *
            ?sessionId : Nullable<Guid>
    (* Defaults:
            let _sessionId = defaultArg sessionId null
    *)
    -> IActionResult

#### Parameters

options
  Type: Dundas.BI.WebApi.Models
  KeepAliveSessionOptions
  The optional information to keep the session alive.
sessionId (Optional)
  Type: System
  Nullable
  Guid
  Current session ID.

#### Return Value

Type: IActionResult
A status code indicating success or the reason for failure.
See Also

#### Reference

SessionController Class
Dundas.BI.WebApi.Controllers Namespace