Delen via


ITeamFoundationFeatureAvailabilityService.IsFeatureEnabled Method

Determines availability state for feature

Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)

Syntax

'Declaration
Function IsFeatureEnabled ( _
    requestContext As TeamFoundationRequestContext, _
    featureName As String _
) As Boolean
bool IsFeatureEnabled(
    TeamFoundationRequestContext requestContext,
    string featureName
)
bool IsFeatureEnabled(
    TeamFoundationRequestContext^ requestContext, 
    String^ featureName
)
abstract IsFeatureEnabled : 
        requestContext:TeamFoundationRequestContext * 
        featureName:string -> bool
function IsFeatureEnabled(
    requestContext : TeamFoundationRequestContext, 
    featureName : String
) : boolean

Parameters

Return Value

Type: System.Boolean

Remarks

Note: once feature state is retrieved for a given request, its result is cached and used for subsequent retrievals within the same request lifespan

.NET Framework Security

See Also

Reference

ITeamFoundationFeatureAvailabilityService Interface

Microsoft.TeamFoundation.Framework.Server Namespace