Share via


ApplicationPoolCpu.SmpProcessorAffinityMask2 Property

Definition

Gets or sets the CPU affinity for an application pool (64-bit option).

public:
 property long SmpProcessorAffinityMask2 { long get(); void set(long value); };
public long SmpProcessorAffinityMask2 { get; set; }
member this.SmpProcessorAffinityMask2 : int64 with get, set
Public Property SmpProcessorAffinityMask2 As Long

Property Value

A value that indicates the CPU affinity for the application pool. The default is 4294967295.

Exceptions

The value is less than MinValue or greater than MaxValue.

Remarks

This property configures the hexadecimal processor mask, which indicates to which CPU the worker processes in an application pool are bound. Before this property takes effect, the SmpAffinitized property must be set to true for the current ApplicationPool object.

Note

Do not set this property to 0. Doing so disables SMP affinity and creates an error condition. Processes that are running on one CPU do not remain affiliated with that CPU throughout their lifetimes.

Applies to