Delen via


KpiService.SetStates Method (TeamFoundationRequestContext, String, String, String, List<KpiStateDefinition>)

Sets states associated with a Kpi Definition

Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)

Syntax

'Declaration
Public Sub SetStates ( _
    requestContext As TeamFoundationRequestContext, _
    area As String, _
    name As String, _
    scope As String, _
    states As List(Of KpiStateDefinition) _
)
public void SetStates(
    TeamFoundationRequestContext requestContext,
    string area,
    string name,
    string scope,
    List<KpiStateDefinition> states
)
public:
void SetStates(
    TeamFoundationRequestContext^ requestContext, 
    String^ area, 
    String^ name, 
    String^ scope, 
    List<KpiStateDefinition^>^ states
)
member SetStates : 
        requestContext:TeamFoundationRequestContext * 
        area:string * 
        name:string * 
        scope:string * 
        states:List<KpiStateDefinition> -> unit
public function SetStates(
    requestContext : TeamFoundationRequestContext, 
    area : String, 
    name : String, 
    scope : String, 
    states : List<KpiStateDefinition>
)

Parameters

.NET Framework Security

See Also

Reference

KpiService Class

SetStates Overload

Microsoft.TeamFoundation.Framework.Server Namespace