TeamFoundationFeatureAvailabilityService.SetFeatureState Method
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Sub SetFeatureState ( _
requestContext As TeamFoundationRequestContext, _
featureName As String, _
state As FeatureAvailabilityState, _
userId As Nullable(Of Guid) _
)
public void SetFeatureState(
TeamFoundationRequestContext requestContext,
string featureName,
FeatureAvailabilityState state,
Nullable<Guid> userId
)
public:
virtual void SetFeatureState(
TeamFoundationRequestContext^ requestContext,
String^ featureName,
FeatureAvailabilityState state,
Nullable<Guid> userId
) sealed
abstract SetFeatureState :
requestContext:TeamFoundationRequestContext *
featureName:string *
state:FeatureAvailabilityState *
userId:Nullable<Guid> -> unit
override SetFeatureState :
requestContext:TeamFoundationRequestContext *
featureName:string *
state:FeatureAvailabilityState *
userId:Nullable<Guid> -> unit
public final function SetFeatureState(
requestContext : TeamFoundationRequestContext,
featureName : String,
state : FeatureAvailabilityState,
userId : Nullable<Guid>
)
Parameters
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- featureName
Type: System.String
- userId
Type: System.Nullable<Guid>
Implements
.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.