AgentsController.GetAgentById Method

Get a specific build agent

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

Syntax

'Declaration
<HttpGetAttribute> _
Public Function GetAgentById ( _
    agentId As Integer _
) As BuildAgent
[HttpGetAttribute]
public BuildAgent GetAgentById(
    int agentId
)
[HttpGetAttribute]
public:
BuildAgent^ GetAgentById(
    int agentId
)
[<HttpGetAttribute>]
member GetAgentById : 
        agentId:int -> BuildAgent
public function GetAgentById(
    agentId : int
) : BuildAgent

Parameters

Return Value

Type: BuildAgent

.NET Framework Security

See Also

Reference

AgentsController Class

Microsoft.TeamFoundation.Build.Server.Rest Namespace