次の方法で共有


CloudJobSchedule.Disable(IEnumerable<BatchClientBehavior>) メソッド

定義

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

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

パラメーター

additionalBehaviors
IEnumerable<BatchClientBehavior>

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

注釈

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

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

適用対象