Language

TaskDefinitionExtensions.GetMinimumAgentVersion Method

Definition

Returns the maximum of the two versions: the currentMinimum and the task's MinimumAgentVersion

public static string GetMinimumAgentVersion(this Microsoft.TeamFoundation.DistributedTask.WebApi.TaskDefinition taskDefinition, string currentMinimum);
static member GetMinimumAgentVersion : Microsoft.TeamFoundation.DistributedTask.WebApi.TaskDefinition * string -> string

Parameters

taskDefinition
TaskDefinition
currentMinimum
String

Returns

Applies to