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

PoolOperations.EnableComputeNodeScheduling 方法

定义

在指定的计算节点上启用任务计划。

public void EnableComputeNodeScheduling (string poolId, string computeNodeId, System.Collections.Generic.IEnumerable<Microsoft.Azure.Batch.BatchClientBehavior> additionalBehaviors = default);
member this.EnableComputeNodeScheduling : string * string * seq<Microsoft.Azure.Batch.BatchClientBehavior> -> unit
Public Sub EnableComputeNodeScheduling (poolId As String, computeNodeId As String, Optional additionalBehaviors As IEnumerable(Of BatchClientBehavior) = Nothing)

参数

poolId
String

池的 id。

computeNodeId
String

计算节点的 ID。

additionalBehaviors
IEnumerable<BatchClientBehavior>

在 之后应用于 Batch 服务请求的实例集合BatchClientBehaviorCustomBehaviors

注解

这是一个阻止操作。 有关非阻塞等效项,请参阅 EnableComputeNodeScheduling(String, String, IEnumerable<BatchClientBehavior>)

适用于