Bagikan melalui


AgentSettings.GetAgentReservationSpec Method

Creates an AgentReservationSpec object based on this agent’s Name and Tags properties.

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

Syntax

'Declaration
Public Function GetAgentReservationSpec As AgentReservationSpec
public AgentReservationSpec GetAgentReservationSpec()
public:
AgentReservationSpec^ GetAgentReservationSpec()
member GetAgentReservationSpec : unit -> AgentReservationSpec 
public function GetAgentReservationSpec() : AgentReservationSpec

Return Value

Type: Microsoft.TeamFoundation.Build.Workflow.Activities.AgentReservationSpec
An AgentReservationSpec object based on this agent’s Name and Tags properties.

.NET Framework Security

See Also

Reference

AgentSettings Class

Microsoft.TeamFoundation.Build.Workflow.Activities Namespace