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 List(Of BuildAgentQueryResult)
public List<BuildAgentQueryResult> QueryBuildAgents(
TeamFoundationRequestContext requestContext,
IList<BuildAgentSpec> agentSpecs
)
public:
List<BuildAgentQueryResult^>^ QueryBuildAgents(
TeamFoundationRequestContext^ requestContext,
IList<BuildAgentSpec^>^ agentSpecs
)
member QueryBuildAgents :
requestContext:TeamFoundationRequestContext *
agentSpecs:IList<BuildAgentSpec> -> List<BuildAgentQueryResult>
public function QueryBuildAgents(
requestContext : TeamFoundationRequestContext,
agentSpecs : IList<BuildAgentSpec>
) : List<BuildAgentQueryResult>
Parameters
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- agentSpecs
Type: System.Collections.Generic.IList<BuildAgentSpec>
Return Value
Type: System.Collections.Generic.List<BuildAgentQueryResult>
.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.