A Sandcastle Documented Class Library

# ResourceController DeleteBuiltInResource Method

DELETE /Resource/BuiltInResource/ Deletes the contents of the specified built-in 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("BuiltInResource")]
    public IActionResult DeleteBuiltInResource(
    	BuiltInResourceKind resourceKind,
    	Guid? tenantId = null,
    	Guid? sessionId = null
    )

    <HttpDeleteAttribute>
    <ActionNameAttribute("BuiltInResource")>
    Public Function DeleteBuiltInResource (
    	resourceKind As BuiltInResourceKind,
    	Optional tenantId As Guid? = Nothing,
    	Optional sessionId As Guid? = Nothing
    ) As IActionResult

    public:
    [HttpDeleteAttribute]
    [ActionNameAttribute(L"BuiltInResource")]
    IActionResult^ DeleteBuiltInResource(
    	BuiltInResourceKind resourceKind,
    	Nullable<Guid> tenantId = nullptr,
    	Nullable<Guid> sessionId = nullptr
    )

    [<HttpDeleteAttribute>]
    [<ActionNameAttribute("BuiltInResource")>]
    member DeleteBuiltInResource :
            resourceKind : BuiltInResourceKind *
            ?tenantId : Nullable<Guid> *
            ?sessionId : Nullable<Guid>
    (* Defaults:
            let _tenantId = defaultArg tenantId null
            let _sessionId = defaultArg sessionId null
    *)
    -> IActionResult

#### Parameters

resourceKind
  Type: Dundas.BI.AppResources
  BuiltInResourceKind
  The kind of resource to get.
tenantId (Optional)
  Type: System
  Nullable
  Guid
  The optional tenant 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