A Sandcastle Documented Class Library

# FeatureController IsEnabled Method

GET /Feature/IsEnabled Gets whether the feature is enabled or not.

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("IsEnabled")]
    public IActionResult IsEnabled(
    	string featureId,
    	Guid? sessionId = null
    )

    <HttpGetAttribute>
    <ActionNameAttribute("IsEnabled")>
    Public Function IsEnabled (
    	featureId As String,
    	Optional sessionId As Guid? = Nothing
    ) As IActionResult

    public:
    [HttpGetAttribute]
    [ActionNameAttribute(L"IsEnabled")]
    IActionResult^ IsEnabled(
    	String^ featureId,
    	Nullable<Guid> sessionId = nullptr
    )

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

#### Parameters

featureId
  Type: System
  String
  The ID of the feature to check.
sessionId (Optional)
  Type: System
  Nullable
  Guid
  Current session ID.

#### Return Value

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

#### Reference

FeatureController Class
Dundas.BI.WebApi.Controllers Namespace