Share via


Job.SetExtendedJobTerm Method

Sets the application-defined extended term on the job.

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

Usage

Syntax

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

Parameters

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

Remarks

Use this method to add or update your own terms that are passed to the submission and activation filters. For a list of predefined job terms, see the Remarks section of Cluster.ModifyJobTerm.

After adding the job to the cluster, use the Cluster.ModifyJobTerm to add or update the extended job terms.

To retrieve the current extended terms, access the Job.ExtendedJobTerms 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

Job Class
Job Members
Microsoft.ComputeCluster Namespace
ExtendedJobTerms
Task.SetExtendedTaskTerm