Share via


JobScheduleOperations.DisableJobSchedule メソッド

定義

指定したジョブ スケジュールを無効にします。 無効なスケジュールでは新しいジョブは作成されませんが、後で再度有効にすることもできます。

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

パラメーター

jobScheduleId
String

ジョブ スケジュールの ID。

additionalBehaviors
IEnumerable<BatchClientBehavior>

の後の BatchClientBehavior Batch サービス要求に適用されるインスタンスの CustomBehaviorsコレクション。

注釈

これはブロック操作です。 非ブロッキングに相当する場合は、「」を参照してください DisableJobScheduleAsync(String, IEnumerable<BatchClientBehavior>, CancellationToken)

スケジュールを再度有効にするには、 を呼び出します EnableJobSchedule(String, IEnumerable<BatchClientBehavior>)

適用対象