IScheduler::GetJobTemplateList method
Retrieves a list of job template names defined in the cluster.
Syntax
HRESULT GetJobTemplateList(
[out] IStringCollection **pTemplates
);
Parameters
- pTemplates [out]
An IStringCollection interface that contains a collection of job template names.
Return value
If the method succeeds, the return value is S_OK. Otherwise, the return value is an error code.
Remarks
If you use the enumerator to enumerate each item in the collection, the item is a VARIANT of type VT_BSTR. Query the bstrVal member for the template name.
Requirements
Product |
This method was introduced in Windows HPC Server 2008 R2 Service Pack 2 (SP2) and is not supported in previous versions. |
Type library |
Microsoft.Hpc.Scheduler.tlb |