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

JobScheduleOperationsExtensions.Disable 方法

定义

禁用作业计划。

public static Microsoft.Azure.Batch.Protocol.Models.JobScheduleDisableHeaders Disable (this Microsoft.Azure.Batch.Protocol.IJobScheduleOperations operations, string jobScheduleId, Microsoft.Azure.Batch.Protocol.Models.JobScheduleDisableOptions jobScheduleDisableOptions = default);
static member Disable : Microsoft.Azure.Batch.Protocol.IJobScheduleOperations * string * Microsoft.Azure.Batch.Protocol.Models.JobScheduleDisableOptions -> Microsoft.Azure.Batch.Protocol.Models.JobScheduleDisableHeaders
<Extension()>
Public Function Disable (operations As IJobScheduleOperations, jobScheduleId As String, Optional jobScheduleDisableOptions As JobScheduleDisableOptions = Nothing) As JobScheduleDisableHeaders

参数

operations
IJobScheduleOperations

此扩展方法的操作组。

jobScheduleId
String

要禁用的作业计划的 ID。

jobScheduleDisableOptions
JobScheduleDisableOptions

操作的其他参数

返回

注解

在再次启用作业计划之前,不会创建新的作业。

适用于