Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContextThe request context
agentUris
Type: System.Collections.Generic.IList<String>The URIs of the build agents to delete
- canDeleteElastic
Type: System.Boolean
.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.