IScheduler.OpenJob Method

Retrieves the specified job from the scheduler.


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

'Usage
Dim instance As IScheduler
Dim id As Integer
Dim returnValue As ISchedulerJob

returnValue = instance.OpenJob(id)

ISchedulerJob OpenJob (
	int id
)
ISchedulerJob OpenJob (
	int id
)
function OpenJob (
	id : int
) : ISchedulerJob

Parameters

id

The job to retrieve.

Return Value

An ISchedulerJob interface that you can use to access the properties of the job.

For an example, see Getting a List of Jobs.

The scheduler assigns the identifier when you call the AddJob or SubmitJob method to add the job to the scheduler. To get the identifier, access the ISchedulerJob.Id 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: