Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

ISchedulerJob::Commit method

Commits to the server any local changes to the job.


HRESULT Commit();


This method has no parameters.

Return value

If the method succeeds, the return value is S_OK. Otherwise, the return value is an error code. To get a description of the error, access the ISchedulerJob::ErrorMessage property.


All changes made to the job are made locally. Call this method to apply your changes (to the job's properties) to the server. To commit updates, the job must have been previously added to the scheduler.

If the user changed a property value that the template marks as read-only, the property value is silently set to the template's default value. If the user set a property value that is outside the range of the template's constraint on that property, the method fails.

For details on the properties that you can update in the different states, see Updating a Job.



HPC Pack 2008 R2 Client Utilities, HPC Pack 2008 Client Utilities

Type library


See also




Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft. All rights reserved.