SchedulerCollection.SetAffinityToRange 方法
Sets the affinity mask for the Scheduler in the specified range.
命名空间: Microsoft.SqlServer.Management.Smo
程序集: Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)
语法
声明
Public Sub SetAffinityToRange ( _
startIndex As Integer, _
endIndex As Integer, _
affinityMask As Boolean _
)
用法
Dim instance As SchedulerCollection
Dim startIndex As Integer
Dim endIndex As Integer
Dim affinityMask As Boolean
instance.SetAffinityToRange(startIndex, _
endIndex, affinityMask)
public void SetAffinityToRange(
int startIndex,
int endIndex,
bool affinityMask
)
public:
void SetAffinityToRange(
int startIndex,
int endIndex,
bool affinityMask
)
member SetAffinityToRange :
startIndex:int *
endIndex:int *
affinityMask:bool -> unit
public function SetAffinityToRange(
startIndex : int,
endIndex : int,
affinityMask : boolean
)
参数
- startIndex
类型:System.Int32
The beginning of the range.
- endIndex
类型:System.Int32
The end of the range.
- affinityMask
类型:System.Boolean
true to set the affinity to each scheduler in the specified range; otherwise, false.