IAgentReservationExtension.ReleaseAgent Method

Releases the agent associated with the specified reservation ID. Once the agent has been released it will be returned to a pool such that it may be used by another process or workflow.

Namespace:  Microsoft.TeamFoundation.Build.Workflow.Services
Assembly:  Microsoft.TeamFoundation.Build.Workflow (in Microsoft.TeamFoundation.Build.Workflow.dll)

Syntax

'Declaration
Sub ReleaseAgent ( _
    reservationId As Integer _
)
void ReleaseAgent(
    int reservationId
)
void ReleaseAgent(
    int reservationId
)
abstract ReleaseAgent : 
        reservationId:int -> unit 
function ReleaseAgent(
    reservationId : int
)

Parameters

  • reservationId
    Type: System.Int32
    The ID of the agent reservation which should be released.

.NET Framework Security

See Also

Reference

IAgentReservationExtension Interface

Microsoft.TeamFoundation.Build.Workflow.Services Namespace