Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

ICommandInfo::EnvironmentVariables property

Retrieves the environment variables used by the command.

This property is read-only.

Syntax


HRESULT get_EnvironmentVariables(
  [out] INameValueCollection **pEnvVariables
);

Property value

An INameValueCollection interface that contains the collection of environment variables used by the command. The variant type of each item is VT_DISPATCH. Query the pdispVal member of the variant for the INameValue interface.

Error codes

If the method succeeds, the return value is S_OK. Otherwise, the return value is an error code.

Requirements

Product

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

Type library

Microsoft.Hpc.Scheduler.tlb

See also

ICommandInfo

 

 

Show:
© 2015 Microsoft