Partager via


AgentsController.GetAgents Method

Get build agents

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

Syntax

'Declaration
<HttpGetAttribute> _
Public Function GetAgents ( _
    controllerName As String, _
    agentName As String, _
    serviceHost As String _
) As HttpResponseMessage
[HttpGetAttribute]
public HttpResponseMessage GetAgents(
    string controllerName,
    string agentName,
    string serviceHost
)
[HttpGetAttribute]
public:
HttpResponseMessage^ GetAgents(
    String^ controllerName, 
    String^ agentName, 
    String^ serviceHost
)
[<HttpGetAttribute>]
member GetAgents : 
        controllerName:string * 
        agentName:string * 
        serviceHost:string -> HttpResponseMessage
public function GetAgents(
    controllerName : String, 
    agentName : String, 
    serviceHost : String
) : HttpResponseMessage

Parameters

Return Value

Type: System.Net.Http.HttpResponseMessage

.NET Framework Security

See Also

Reference

AgentsController Class

Microsoft.TeamFoundation.Build.Server.Rest Namespace