TeamFoundationBuildResourceService.DeleteBuildAgents Method

Deletes build agents from the server. Notifications are asynchronously sent to the physical service host regarding the deletion of any build agents.

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

Syntax

'Declaration
Public Sub DeleteBuildAgents ( _
    requestContext As TeamFoundationRequestContext, _
    agentUris As IList(Of String), _
    canDeleteElastic As Boolean _
)
public void DeleteBuildAgents(
    TeamFoundationRequestContext requestContext,
    IList<string> agentUris,
    bool canDeleteElastic
)
public:
void DeleteBuildAgents(
    TeamFoundationRequestContext^ requestContext, 
    IList<String^>^ agentUris, 
    bool canDeleteElastic
)
member DeleteBuildAgents : 
        requestContext:TeamFoundationRequestContext * 
        agentUris:IList<string> * 
        canDeleteElastic:bool -> unit
public function DeleteBuildAgents(
    requestContext : TeamFoundationRequestContext, 
    agentUris : IList<String>, 
    canDeleteElastic : boolean
)

Parameters

.NET Framework Security

See Also

Reference

TeamFoundationBuildResourceService Class

Microsoft.TeamFoundation.Build.Server Namespace