public UpdateJobSchedule ( BatchAccountContext context, |
||
context | BatchAccountContext | The account to use. |
jobSchedule | The PSCloudJobSchedule object representing the job schedule to update. | |
additionBehaviors | IEnumerable |
Additional client behaviors to perform. |
return | 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);
}