Partager via


RosarioHelper.QueryBuildAgents Method (TeamFoundationRequestContext, IList<BuildAgentSpec2010>)

Namespace:  Microsoft.TeamFoundation.Build.Server.Compatibility
Assembly:  Microsoft.TeamFoundation.Build.Server (in Microsoft.TeamFoundation.Build.Server.dll)

Syntax

'Declaration
Public Shared Function QueryBuildAgents ( _
    requestContext As TeamFoundationRequestContext, _
    agentSpecs As IList(Of BuildAgentSpec2010) _
) As List(Of BuildAgentQueryResult2010)
public static List<BuildAgentQueryResult2010> QueryBuildAgents(
    TeamFoundationRequestContext requestContext,
    IList<BuildAgentSpec2010> agentSpecs
)
public:
static List<BuildAgentQueryResult2010^>^ QueryBuildAgents(
    TeamFoundationRequestContext^ requestContext, 
    IList<BuildAgentSpec2010^>^ agentSpecs
)
static member QueryBuildAgents : 
        requestContext:TeamFoundationRequestContext * 
        agentSpecs:IList<BuildAgentSpec2010> -> List<BuildAgentQueryResult2010> 
public static function QueryBuildAgents(
    requestContext : TeamFoundationRequestContext, 
    agentSpecs : IList<BuildAgentSpec2010>
) : List<BuildAgentQueryResult2010>

Parameters

Return Value

Type: System.Collections.Generic.List<BuildAgentQueryResult2010>
Returns List<T>.

.NET Framework Security

See Also

Reference

RosarioHelper Class

QueryBuildAgents Overload

Microsoft.TeamFoundation.Build.Server.Compatibility Namespace