Export (0) Print
Expand All
Expand Minimize

ISchedulerJob.Progress Property

Gets or sets the percentage of the job that is complete.


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

'Usage
Dim instance As ISchedulerJob
Dim value As Integer

value = instance.Progress

instance.Progress = value

int Progress { get; set; }
/** @property */
int get_Progress ()

/** @property */
void set_Progress (int value)

function get Progress () : int

function set Progress (value : int)

Property Value

A Int32 that specifies the percentage of the job that is complete. It is a value between 0 and 100.

For an example that uses this property, see Setting Custom Job Progress Information from Applications or Scripts that Run on a Windows HPC Server 2008 R2 Cluster (http://go.microsoft.com/fwlink/?LinkID=177608).

If your application does not set the value of this property, the HPC Job Scheduler Service calculates the progress based on the percentage of tasks that are complete for the job. Once you application sets this property for a job, the HPC Job Scheduler Service does not continue to update this property, and you application must continue to update the property.

You can set the value of this property for jobs in any state.

Platform Note: This property is only supported for Windows HPC Server 2008 R2 and is not supported in previous versions.


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:
© 2014 Microsoft