Share via


AgentsController.DeleteAgentById Method

Delete a specific build agent

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

Syntax

'Declaration
<HttpDeleteAttribute> _
Public Sub DeleteAgentById ( _
    agentId As Integer _
)
[HttpDeleteAttribute]
public void DeleteAgentById(
    int agentId
)
[HttpDeleteAttribute]
public:
void DeleteAgentById(
    int agentId
)
[<HttpDeleteAttribute>]
member DeleteAgentById : 
        agentId:int -> unit
public function DeleteAgentById(
    agentId : int
)

Parameters

.NET Framework Security

See Also

Reference

AgentsController Class

Microsoft.TeamFoundation.Build.Server.Rest Namespace