Share via


Task.Depend Property

Retrieves or sets the dependent tasks.

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

Usage

Syntax

'Declaration
<XmlAttributeAttribute> _
<DefaultValueAttribute("")> _
Public Property Depend As String
[XmlAttributeAttribute] 
[DefaultValueAttribute("")] 
public string Depend { get; set; }
[XmlAttributeAttribute] 
[DefaultValueAttribute(L"")] 
public:
virtual property String^ Depend {
    String^ get () sealed;
    void set (String^ value) sealed;
}
/** @property */
public final String get_Depend ()

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

public final 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 Cluster.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

Task Class
Task Members
Microsoft.ComputeCluster Namespace