共用方式為


FeatureFlagsController.PatchFeatureFlag 方法 (String, FeatureFlagPatchModel)

變更個別功能旗標的狀態。

命名空間:  Microsoft.TeamFoundation.Framework.Server
組件:  Microsoft.TeamFoundation.Framework.Server (在 Microsoft.TeamFoundation.Framework.Server.dll 中)

語法

'宣告
<TraceFilterAttribute(, )> _
Public Function PatchFeatureFlag ( _
    name As String, _
    state As FeatureFlagPatchModel _
) As FeatureFlagApiResponse
[TraceFilterAttribute(, )]
public FeatureFlagApiResponse PatchFeatureFlag(
    string name,
    FeatureFlagPatchModel state
)

參數

傳回值

類型:Microsoft.TeamFoundation.Framework.Server.FeatureFlagApiResponse
變更功能旗標的 JSON 表示。

.NET Framework 安全性

請參閱

參考

FeatureFlagsController 類別

PatchFeatureFlag 多載

Microsoft.TeamFoundation.Framework.Server 命名空間