FeatureFlagsController.GetFeatureFlagByName Method (String)
Retrieve information on a single feature flag and its current states
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
<TraceFilterAttribute(, )> _
Public Function GetFeatureFlagByName ( _
name As String _
) As FeatureFlagApiResponse
[TraceFilterAttribute(, )]
public FeatureFlagApiResponse GetFeatureFlagByName(
string name
)
[TraceFilterAttribute(, )]
public:
FeatureFlagApiResponse^ GetFeatureFlagByName(
String^ name
)
[<TraceFilterAttribute(, )>]
member GetFeatureFlagByName :
name:string -> FeatureFlagApiResponse
public function GetFeatureFlagByName(
name : String
) : FeatureFlagApiResponse
Parameters
name
Type: System.StringThe name of the feature to retrieve
Return Value
Type: Microsoft.TeamFoundation.Framework.Server.FeatureFlagApiResponse
JSON representation of Feature Flag
.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.