Share via


ISchedulerJob::JobTemplate property

Retrieves the name of the job template used to initialize the properties of the job.

This property is read-only.

Syntax

HRESULT get_JobTemplate(
  [out] BSTR *pTemplate
);

Property value

The name of the job template.

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

To specify a new template for the job, call the ISchedulerJob::SetJobTemplate method.

Requirements

Product

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

Type library

Microsoft.Hpc.Scheduler.tlb

See also

ISchedulerJob

ISchedulerJob::SetJobTemplate