Metoda TeamFoundationFeatureAvailabilityService.SetFeatureState — (TeamFoundationRequestContext, IEnumerable<String>, FeatureAvailabilityScope, Boolean)
Przestrzeń nazw: Microsoft.TeamFoundation.Framework.Server
Zestaw: Microsoft.TeamFoundation.Framework.Server (w Microsoft.TeamFoundation.Framework.Server.dll)
Składnia
'Deklaracja
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
)
Parametry
- requestContext
Typ: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- featureNames
Typ: System.Collections.Generic.IEnumerable<String>
- state
Typ: System.Boolean
Implementuje
Zabezpieczenia programu .NET Framework
- Pełne zaufanie do bezpośredniego wywołującego. Tego elementu członkowskiego nie można używać w kodzie częściowo zaufanym. Aby uzyskać więcej informacji, zobacz Przy użyciu bibliotek z częściowo zaufanego kodu..