Microsoft.Azure.Commands.Batch.Models.BatchClient.UpdateJobSchedule C# (CSharp) Méthode

UpdateJobSchedule() public méthode

Commits changes to a PSCloudJobSchedule object to the Batch Service.
public UpdateJobSchedule ( BatchAccountContext context, PSCloudJobSchedule jobSchedule, IEnumerable additionBehaviors = null ) : void
context BatchAccountContext The account to use.
jobSchedule PSCloudJobSchedule The PSCloudJobSchedule object representing the job schedule to update.
additionBehaviors IEnumerable Additional client behaviors to perform.
Résultat void
        public void UpdateJobSchedule(BatchAccountContext context, PSCloudJobSchedule jobSchedule, IEnumerable<BatchClientBehavior> additionBehaviors = null)
        {
            if (jobSchedule == null)
            {
                throw new ArgumentNullException("jobSchedule");
            }

            WriteVerbose(string.Format(Resources.UpdatingJobSchedule, jobSchedule.Id));

            Utils.Utils.BoundJobScheduleSyncCollections(jobSchedule);
            jobSchedule.omObject.Commit(additionBehaviors);
        }
BatchClient