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
- agentId
Type: System.Int32
.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.