ICluster.EnvironmentVariables Property

Retrieves the cluster-wide environment variables. The variables are available to all tasks on all nodes.

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

Usage

Syntax

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

Property Value

An INameValueCollection interface that contains the collection of environment variables. The collection contains instances of the INameValue interface.

Remarks

To set a cluster-wide environment variable, call the ICluster.SetEnvironmentVariable method. To set an environment variable that is available to a specific task, call the ITask.SetEnvironmentVariable method.

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

ICluster Interface
ICluster Members
Microsoft.ComputeCluster Namespace