Share via


Cluster.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
Public ReadOnly Property EnvironmentVariables As INameValueCollection
public INameValueCollection EnvironmentVariables { get; }
public:
virtual property INameValueCollection^ EnvironmentVariables {
    INameValueCollection^ get () sealed;
}
/** @property */
public final INameValueCollection get_EnvironmentVariables ()
public final 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 Cluster.SetEnvironmentVariable method. To set an environment variable that is available to a specific task, call the Task.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

Cluster Class
Cluster Members
Microsoft.ComputeCluster Namespace