Partager via


FeatureFlagsController.GetFeatureFlagByName Method (String)

Retrieve information on a single feature flag and its current states

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

Syntax

'Declaration
<TraceFilterAttribute(, )> _
Public Function GetFeatureFlagByName ( _
    name As String _
) As FeatureFlagApiResponse
[TraceFilterAttribute(, )]
public FeatureFlagApiResponse GetFeatureFlagByName(
    string name
)
[TraceFilterAttribute(, )]
public:
FeatureFlagApiResponse^ GetFeatureFlagByName(
    String^ name
)
[<TraceFilterAttribute(, )>]
member GetFeatureFlagByName : 
        name:string -> FeatureFlagApiResponse
public function GetFeatureFlagByName(
    name : String
) : FeatureFlagApiResponse

Parameters

Return Value

Type: Microsoft.TeamFoundation.Framework.Server.FeatureFlagApiResponse
JSON representation of Feature Flag

.NET Framework Security

See Also

Reference

FeatureFlagsController Class

GetFeatureFlagByName Overload

Microsoft.TeamFoundation.Framework.Server Namespace