AdministrationWebService.QueryBuildAgents Method
Namespace: Microsoft.TeamFoundation.Build.Server
Assembly: Microsoft.TeamFoundation.Build.Server (in Microsoft.TeamFoundation.Build.Server.dll)
Syntax
'Declaration
<WebMethodAttribute> _
Public Function QueryBuildAgents ( _
agentSpecs As BuildAgentSpec() _
) As List(Of BuildAgentQueryResult)
[WebMethodAttribute]
public List<BuildAgentQueryResult> QueryBuildAgents(
BuildAgentSpec[] agentSpecs
)
[WebMethodAttribute]
public:
List<BuildAgentQueryResult^>^ QueryBuildAgents(
array<BuildAgentSpec^>^ agentSpecs
)
[<WebMethodAttribute>]
member QueryBuildAgents :
agentSpecs:BuildAgentSpec[] -> List<BuildAgentQueryResult>
public function QueryBuildAgents(
agentSpecs : BuildAgentSpec[]
) : List<BuildAgentQueryResult>
Parameters
- agentSpecs
Type: array<Microsoft.TeamFoundation.Build.Server.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.