ISchedulerJob.Commit Method

Commits to the server any local changes to the job.


Namespace: Microsoft.Hpc.Scheduler
Assembly: Microsoft.Hpc.Scheduler (in Microsoft.Hpc.Scheduler.dll)

'Usage
Dim instance As ISchedulerJob

instance.Commit

void Commit ()
void Commit ()
function Commit ()

All changes made to the job are made locally. Call this method to apply your changes 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. Because the Commit method does not return a value, you should check the values of the properties that you changed before you called Commit to check whether Commit succeeded or failed.

If you want to modify a job in the queued state, you may need to call the ConfigureJob method to move the job back to the configuring state before you make the changes. You can modify a larger set of properties for jobs in the configuring state than you can for jobs in the queued state.

If the job is running, you can modify only the Runtime, RunUntilCanceled, and Project job properties. The changes take effect immediately. If the job is a backfill job, you cannot modify the Runtime property.


Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Windows XP, Windows Vista, Windows 7, Windows 8, Windows Server 2003, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012

Target Platforms

Windows XP, Windows Vista, Windows 7, Windows 8, Windows Server 2003, Windows Server 2003 R2, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, with HPC Pack Client Utilities




Build Date:

2013-04-22

Community Additions

ADD
Show: