Share via


ITask.SetExtendedTaskTerm Method

Sets the application-defined extended term for the task.

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

Usage

Syntax

'Declaration
Sub SetExtendedTaskTerm ( _
    termName As String, _
    termValue As String _
)
void SetExtendedTaskTerm (
    string termName,
    string termValue
)
void SetExtendedTaskTerm (
    String^ termName, 
    String^ termValue
)
void SetExtendedTaskTerm (
    String termName, 
    String termValue
)
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 ITask.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

ITask Interface
ITask Members
Microsoft.ComputeCluster Namespace
IJob.SetExtendedJobTerm Method