Partager via


AgentSettings.GetAgentReservationSpec, méthode

Crée un objet d' AgentReservationSpec sur les propriétés d' Name et d' Tags de cet agent.

Espace de noms :  Microsoft.TeamFoundation.Build.Workflow.Activities
Assembly :  Microsoft.TeamFoundation.Build.Workflow (dans Microsoft.TeamFoundation.Build.Workflow.dll)

Syntaxe

'Déclaration
Public Function GetAgentReservationSpec As AgentReservationSpec
public AgentReservationSpec GetAgentReservationSpec()

Valeur de retour

Type : Microsoft.TeamFoundation.Build.Workflow.Activities.AgentReservationSpec
Un objet d' AgentReservationSpec sur les propriétés d' Name et d' Tags de cet agent.

Sécurité .NET Framework

Voir aussi

Référence

AgentSettings Classe

Microsoft.TeamFoundation.Build.Workflow.Activities, espace de noms