IBuildServiceHost.DeleteBuildAgent Method
Deletes the specified build agent from this service host.
Namespace: Microsoft.TeamFoundation.Build.Client
Assembly: Microsoft.TeamFoundation.Build.Client (in Microsoft.TeamFoundation.Build.Client.dll)
Syntax
'Declaración
Function DeleteBuildAgent ( _
agent As IBuildAgent _
) As Boolean
bool DeleteBuildAgent(
IBuildAgent agent
)
bool DeleteBuildAgent(
IBuildAgent^ agent
)
abstract DeleteBuildAgent :
agent:IBuildAgent -> bool
function DeleteBuildAgent(
agent : IBuildAgent
) : boolean
Parameters
- agent
Type: Microsoft.TeamFoundation.Build.Client.IBuildAgent
The build agent to delete.
Return Value
Type: System.Boolean
True if the build agent was successfully deleted; otherwise, false.
.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.