Поделиться через


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

'Declaration
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

Return Value

Type: System.Boolean
True if the build agent was successfully deleted; otherwise, false.

.NET Framework Security

See Also

Reference

IBuildServiceHost Interface

Microsoft.TeamFoundation.Build.Client Namespace