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

JobManagerTask.RunExclusive 属性

定义

获取或设置作业管理器任务是否需要独占使用运行它的计算节点。

[Newtonsoft.Json.JsonProperty(PropertyName="runExclusive")]
public bool? RunExclusive { get; set; }
[<Newtonsoft.Json.JsonProperty(PropertyName="runExclusive")>]
member this.RunExclusive : Nullable<bool> with get, set
Public Property RunExclusive As Nullable(Of Boolean)

属性值

属性
Newtonsoft.Json.JsonPropertyAttribute

注解

如果为 true,则只要作业管理器正在运行,其他任务就不会在同一节点上运行。 如果为 false,则其他任务可以在计算节点上与作业管理器同时运行。 作业管理器任务按计算节点的并发任务限制正常计数,因此仅当计算节点允许多个并发任务时,这才相关。 默认值为 true。

适用于