Compartilhar via


Método SchedulerCollection.SetAffinityToRange

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

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

Sintaxe

'Declaração
Public Sub SetAffinityToRange ( _
    startIndex As Integer, _
    endIndex As Integer, _
    affinityMask As Boolean _
)
'Uso
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
)

Parâmetros

  • affinityMask
    Tipo: System.Boolean
    true to set the affinity to each scheduler in the specified range; otherwise, false.

Consulte também

Referência

SchedulerCollection Classe

Namespace Microsoft.SqlServer.Management.Smo