IJob::get_ExtendedJobTerms method
Retrieves the application-defined extended job terms.
Syntax
HRESULT get_ExtendedJobTerms(
[out] INameValueCollection **pRetVal
);
Parameters
- pRetVal [out]
An INameValueCollection interface that contains a collection of the extended terms. To retrieve the list of INameValue interfaces, call the INameValueCollection::GetEnumerator method. The variant type of each item is VT_DISPATCH. Query the pdispVal member of the variant for the INameValue interface.
Return value
If the method succeeds, the return value is S_OK. Otherwise, the return value is an error code.
Remarks
To set the extended job terms, call the IJob::SetExtendedJobTerm method.
For a list of job terms, see the Remarks section of ICluster::ModifyJobTerm.
Examples
For an example that enumerates the extended terms of a job, see Listing Jobs.
Requirements
Product |
Compute Cluster Pack Client Utilities |
Type library |
Ccpapi.tlb |