A Sandcastle Documented Class Library

# ResourceController DeleteStaticResource Method

DELETE /Resource/StaticResource/{id} Deletes the contents of the specified static resource.

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

    [HttpDeleteAttribute]
    [ActionNameAttribute("StaticResource")]
    public IActionResult DeleteStaticResource(
    	Guid id,
    	Guid? sessionId = null
    )

    <HttpDeleteAttribute>
    <ActionNameAttribute("StaticResource")>
    Public Function DeleteStaticResource (
    	id As Guid,
    	Optional sessionId As Guid? = Nothing
    ) As IActionResult

    public:
    [HttpDeleteAttribute]
    [ActionNameAttribute(L"StaticResource")]
    IActionResult^ DeleteStaticResource(
    	Guid id,
    	Nullable<Guid> sessionId = nullptr
    )

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

#### Parameters

id
  Type: System
  Guid
  The ID this resource is for.
sessionId (Optional)
  Type: System
  Nullable
  Guid
  The ID of the session.

#### Return Value

Type: IActionResult
A Boolean with the result, or a status code indicating the problem.
See Also

#### Reference

ResourceController Class
Dundas.BI.WebApi.Controllers Namespace