Partilhar via


TeamFoundationBuildResourceService.QueryBuildAgents Method

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

Syntax

'Declaration
Public Function QueryBuildAgents ( _
    requestContext As TeamFoundationRequestContext, _
    agentSpecs As IList(Of BuildAgentSpec) _
) As TeamFoundationDataReader
public TeamFoundationDataReader QueryBuildAgents(
    TeamFoundationRequestContext requestContext,
    IList<BuildAgentSpec> agentSpecs
)
public:
TeamFoundationDataReader^ QueryBuildAgents(
    TeamFoundationRequestContext^ requestContext, 
    IList<BuildAgentSpec^>^ agentSpecs
)
member QueryBuildAgents : 
        requestContext:TeamFoundationRequestContext * 
        agentSpecs:IList<BuildAgentSpec> -> TeamFoundationDataReader
public function QueryBuildAgents(
    requestContext : TeamFoundationRequestContext, 
    agentSpecs : IList<BuildAgentSpec>
) : TeamFoundationDataReader

Parameters

Return Value

Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationDataReader
Returns TeamFoundationDataReader.

.NET Framework Security

See Also

Reference

TeamFoundationBuildResourceService Class

Microsoft.TeamFoundation.Build.Server Namespace