IBuildServer.DeleteBuildAgents Method (array<IBuildAgent )
Deletes build agents from the server.
Namespace: Microsoft.TeamFoundation.Build.Client
Assembly: Microsoft.TeamFoundation.Build.Client (in Microsoft.TeamFoundation.Build.Client.dll)
Syntax
'Declaration
Sub DeleteBuildAgents ( _
agents As IBuildAgent() _
)
void DeleteBuildAgents(
IBuildAgent[] agents
)
void DeleteBuildAgents(
array<IBuildAgent^>^ agents
)
abstract DeleteBuildAgents :
agents:IBuildAgent[] -> unit
function DeleteBuildAgents(
agents : IBuildAgent[]
)
Parameters
- agents
Type: array<Microsoft.TeamFoundation.Build.Client.IBuildAgent[]
The agents to be deleted.
.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.