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
- controllerName
Type: System.String
- agentName
Type: System.String
- serviceHost
Type: System.String
Return Value
Type: System.Net.Http.HttpResponseMessage
.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.