Share via


IJob.MaximumNumberOfProcessors Property

Retrieves or sets the maximum number of processors that are required by the job.

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

The value cannot be less than the value of the IJob.MinimumNumberOfProcessors 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

IJob Interface
IJob Members
Microsoft.ComputeCluster Namespace
IJob.MinimumNumberOfProcessors