Share via


ITask.MaximumNumberOfProcessors Property

Retrieves or sets the maximum number of processors required by the task.

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

Usage

Syntax

'Declaration
Property MaximumNumberOfProcessors As Integer
int MaximumNumberOfProcessors { get; set; }
property int MaximumNumberOfProcessors {
    int get ();
    void set (int value);
}
/** @property */
int get_MaximumNumberOfProcessors ()

/** @property */
void set_MaximumNumberOfProcessors (int value)
function get MaximumNumberOfProcessors () : int

function set MaximumNumberOfProcessors (value : int)

Property Value

The maximum number of processors. The default is 1.

Remarks

This value cannot:

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.MaximumNumberOfProcessors Property
MinimumNumberOfProcessors