Share via


FeatureFlagsController.PatchFeatureFlag Method (String, FeatureFlagPatchModel)

Change the state of an individual feature flag

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

Syntax

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

Parameters

Return Value

Type: Microsoft.TeamFoundation.Framework.Server.FeatureFlagApiResponse
JSON representation of the Feature Flag that was changed

.NET Framework Security

See Also

Reference

FeatureFlagsController Class

PatchFeatureFlag Overload

Microsoft.TeamFoundation.Framework.Server Namespace