I just worked with a developer having problems using this sample. They were setting .IsEnabled = false in code, but the Job was not being disabled on the SQL box. This could also be verified by calling .Refresh() on the Job. The sample should include calling .Alter() after .IsEnabled has been changed, and then the Job will reflect the change.
↧