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
name
Type: System.StringThe name of the feature to change
state
Type: Microsoft.TeamFoundation.Framework.Server.FeatureFlagPatchModelState that should be set
Return Value
Type: Microsoft.TeamFoundation.Framework.Server.FeatureFlagApiResponse
JSON representation of the Feature Flag that was changed
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.