다음을 통해 공유


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.
  • affinityMask
    유형: System.Boolean
    true to set the affinity to each scheduler in the specified range; otherwise, false.

참고 항목

참조

SchedulerCollection 클래스

Microsoft.SqlServer.Management.Smo 네임스페이스