Share via


Task.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
<XmlAttributeAttribute> _
<DefaultValueAttribute(1)> _
Public Property MaximumNumberOfProcessors As Integer
[XmlAttributeAttribute] 
[DefaultValueAttribute(1)] 
public int MaximumNumberOfProcessors { get; set; }
[XmlAttributeAttribute] 
[DefaultValueAttribute(1)] 
public:
virtual property int MaximumNumberOfProcessors {
    int get () sealed;
    void set (int value) sealed;
}
/** @property */
public final int get_MaximumNumberOfProcessors ()

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

public final 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

Task Class
Task Members
Microsoft.ComputeCluster Namespace
Job.MaximumNumberOfProcessors Property
MinimumNumberOfProcessors