SetAffinityToRange Method

SchedulerCollection.SetAffinityToRange Method (Int32, Int32, Boolean)

 

Sets the affinity mask for the Scheduler in the specified range.

Namespace:   Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

public void SetAffinityToRange(
	int startIndex,
	int endIndex,
	bool affinityMask
)

Parameters

startIndex
Type: System.Int32

The beginning of the range.

endIndex
Type: System.Int32

The end of the range.

affinityMask
Type: System.Boolean

true to set the affinity to each scheduler in the specified range; otherwise, false.

Return to top
Show:
© 2016 Microsoft