Share via


ITask.EnvironmentVariables Property

Retrieves the environment variables that were set for the task.

Namespace: Microsoft.ComputeCluster
Assembly: CcpAPI (in ccpapi.dll)

Usage

Syntax

'Declaration
ReadOnly Property EnvironmentVariables As NameValueCollection
NameValueCollection EnvironmentVariables { get; }
property NameValueCollection^ EnvironmentVariables {
    NameValueCollection^ get ();
}
/** @property */
NameValueCollection get_EnvironmentVariables ()
function get EnvironmentVariables () : NameValueCollection

Property Value

A NameValueCollection class that contains the collection of environment variables that were set using the Task.SetEnvironmentVariable method. The collection contains an INameValue interface for each environment variable that has been set. The collection is empty if no variables have been set.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Microsoft Windows Compute Cluster Server 2003, Windows Server 2003, Windows XP

Target Platforms

Microsoft Windows Compute Cluster Server 2003, Windows Server 2003 with Compute Cluster Pack Client Utilities, Windows XP with Compute Cluster Pack Client Utilities

See Also

Reference

ITask Interface
ITask Members
Microsoft.ComputeCluster Namespace
ICluster.EnvironmentVariables Property
ITask.SetEnvironmentVariable Method