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
- 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.
See Also
Reference
Microsoft.TeamFoundation.Build.Workflow.Activities Namespace