Share via


Task.SetExtendedTaskTerm Method

Sets the application-defined extended term for the task.

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

Usage

Syntax

'Declaration
Public Sub SetExtendedTaskTerm ( _
    termName As String, _
    termValue As String _
)
public void SetExtendedTaskTerm (
    string termName,
    string termValue
)
public:
virtual void SetExtendedTaskTerm (
    String^ termName, 
    String^ termValue
) sealed
public final void SetExtendedTaskTerm (
    String termName, 
    String termValue
)
public final function SetExtendedTaskTerm (
    termName : String, 
    termValue : String
)

Parameters

  • termName
    The name of the extended term. The term is limited to 80 Unicode characters.
  • termValue
    The value of the task term. The value is limited to 1,024 Unicode characters.

Remarks

Use this method to define your own task terms that are passed to the submission and activation filters as part of the XML.

To retrieve the current extended terms, access the Task.ExtendedTaskTerms property.

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
Job.SetExtendedJobTerm Method