Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the environment variables that are set for the job and their values.
This property is read-only.
Syntax
HRESULT get_EnvironmentVariables(
[out] INameValueCollection **pRetVal
);
Property value
An INameValueCollection interface that represents a set of paired environment variable names and values.
Error codes
If the method succeeds, the return value is S_OK. Otherwise, the return value is an error value.
Remarks
Use the ISchedulerJob::SetEnvironmentVariable method to set or unset environment variables for a job.
You cannot add environment variables to the job by adding INameValue items to the INameValueCollection interface that the ISchedulerJob::EnvironmentVariables property contains. Use the ISchedulerJob::SetEnvironmentVariable method to add environment variables instead.
Requirements
Product |
HPC Pack 2008 R2 Client Utilities |
Type library |
Microsoft.Hpc.Scheduler.tlb |