Microsoft.Azure.Commands.Batch.DisableBatchComputeNodeSchedulingCommand.ExecuteCmdlet C# (CSharp) Method

ExecuteCmdlet() public method

public ExecuteCmdlet ( ) : void
return void
        public override void ExecuteCmdlet()
        {
            DisableComputeNodeSchedulingParameters parameters = new DisableComputeNodeSchedulingParameters(this.BatchContext,
                this.PoolId, this.Id, this.ComputeNode, this.AdditionalBehaviors)
            {
                DisableSchedulingOption = this.DisableSchedulingOption
            };

            BatchClient.DisableComputeNodeScheduling(parameters);
        }
    }
DisableBatchComputeNodeSchedulingCommand