A Sandcastle Documented Class Library

# LogOnController DeleteOldLogOnRecords Method

POST /LogOn/Delete/ Removes the log on history records before the supplied date.

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

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

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

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

#### Parameters

options
  Type: Dundas.BI.WebApi.Models
  DeleteLogOnHistoryRecordsOptions
  A DeleteLogOnHistoryRecordsOptions object containing the before date.
sessionId (Optional)
  Type: System
  Nullable
  Guid
  The current session ID.

#### Return Value

Type: IActionResult
A status code indicating success or an error message.
See Also

#### Reference

LogOnController Class
Dundas.BI.WebApi.Controllers Namespace