Share via


JobSpecification.MaxParallelTasks Property

Definition

Gets or sets the maximum number of tasks that can be executed in parallel for the job.

[Newtonsoft.Json.JsonProperty(PropertyName="maxParallelTasks")]
public int? MaxParallelTasks { get; set; }
[<Newtonsoft.Json.JsonProperty(PropertyName="maxParallelTasks")>]
member this.MaxParallelTasks : Nullable<int> with get, set
Public Property MaxParallelTasks As Nullable(Of Integer)

Property Value

Attributes
Newtonsoft.Json.JsonPropertyAttribute

Remarks

The value of maxParallelTasks must be -1 or greater than 0 if specified. If not specified, the default value is -1, which means there's no limit to the number of tasks that can be run at once. You can update a job's maxParallelTasks after it has been created using the update job API.

Applies to