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.
Retrieves the environment variables that were set for the task.
Syntax
HRESULT get_EnvironmentVariables(
[out] INameValueCollection **pRetVal
);
Parameters
- 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.
Return value
If the method succeeds, the return value is S_OK. Otherwise, the return value is an error code.
Requirements
Product |
Compute Cluster Pack Client Utilities |
Type library |
Ccpapi.tlb |