KpiService.SetStates Method (TeamFoundationRequestContext, 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, _
states As List(Of KpiStateDefinition) _
)
public void SetStates(
TeamFoundationRequestContext requestContext,
string area,
string name,
List<KpiStateDefinition> states
)
public:
void SetStates(
TeamFoundationRequestContext^ requestContext,
String^ area,
String^ name,
List<KpiStateDefinition^>^ states
)
member SetStates :
requestContext:TeamFoundationRequestContext *
area:string *
name:string *
states:List<KpiStateDefinition> -> unit
public function SetStates(
requestContext : TeamFoundationRequestContext,
area : String,
name : String,
states : List<KpiStateDefinition>
)
Parameters
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- area
Type: System.String
- name
Type: System.String
- states
Type: System.Collections.Generic.List<KpiStateDefinition>
.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.