共用方式為


TeamFoundationFeatureAvailabilityService.SetFeatureState 方法 (TeamFoundationRequestContext, IEnumerable<String>, FeatureAvailabilityScope, Boolean)

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

語法

'宣告
Public Sub SetFeatureState ( _
    requestContext As TeamFoundationRequestContext, _
    featureNames As IEnumerable(Of String), _
    scope As FeatureAvailabilityScope, _
    state As Boolean _
)
public void SetFeatureState(
    TeamFoundationRequestContext requestContext,
    IEnumerable<string> featureNames,
    FeatureAvailabilityScope scope,
    bool state
)

參數

實作

ITeamFoundationFeatureAvailabilityService.SetFeatureState(TeamFoundationRequestContext, IEnumerable<String>, FeatureAvailabilityScope, Boolean)

.NET Framework 安全性

請參閱

參考

TeamFoundationFeatureAvailabilityService 類別

SetFeatureState 多載

Microsoft.TeamFoundation.Framework.Server 命名空間