Retrieves the environment variables that were set for the task.
HRESULT get_EnvironmentVariables( [out] INameValueCollection **pRetVal );
- pRetVal [out]
An INameValueCollection interface that contains the environment variables that were set using the ITask::SetEnvironmentVariable method. To retrieve the list, call the INameValueCollection::GetEnumerator method. The variant type for each item in the collection is VT_DISPATCH. Query the pdispVal member of the variant for the INameValue interface. The collection is empty if no variables have been set.
If the method succeeds, the return value is S_OK. Otherwise, the return value is an error code.
Compute Cluster Pack Client Utilities