Share via


ITask.Depend Property

Retrieves or sets the dependent tasks.

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

Usage

Syntax

'Declaration
Property Depend As String
string Depend { get; set; }
property String^ Depend {
    String^ get ();
    void set (String^ value);
}
/** @property */
String get_Depend ()

/** @property */
void set_Depend (String value)
function get Depend () : String

function set Depend (value : String)

Property Value

A comma-separated list of task names.

Remarks

Typically, you use dependencies to break a large task into smaller subtasks. For example, if task A needs to finish before task B, which needs to finish before task C, then task B depends on A and task C depends on B. Task B will not run until A finishes, fails, or is canceled.

The method checks for circular dependencies.

The dependency is ignored if the task is specified in a command (see ICluster.ExecuteCommand).

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