你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

JobAddParameter.MaxParallelTasks 属性

定义

获取或设置可为作业并行执行的最大任务数。

[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)

属性值

属性
Newtonsoft.Json.JsonPropertyAttribute

注解

maxParallelTasks 的值必须为 -1 或大于 0(如果指定)。 如果未指定,默认值为 -1,这意味着一次可以运行的任务数没有限制。 在使用更新作业 API 创建作业后,可以更新作业的 maxParallelTasks。

适用于