Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Determines whether the server reserves resources for the job until the job is canceled (even if the job has no active tasks).
This property is read/write.
Syntax
HRESULT put_RunUntilCanceled(
[in] VARIANT_BOOL runUntilCanceled
);
HRESULT get_RunUntilCanceled(
[out] VARIANT_BOOL *pRunUntilCanceled
);
Property value
Set to VARIANT_TRUE to reserve resources for the job; otherwise, VARIANT_FALSE.
Error codes
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
Remarks
The Default job template sets the default value to VARIANT_FALSE.
You cannot set this property to VARIANT_TRUE if ISchedulerJob::AutoCalculateMax and ISchedulerJob::AutoCalculateMin are also set to VARIANT_TRUE.
Requirements
Product |
HPC Pack 2008 R2 Client Utilities, HPC Pack 2008 Client Utilities |
Type library |
Microsoft.Hpc.Scheduler.tlb |