Remarque
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de vous connecter ou de modifier des répertoires.
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de modifier des répertoires.
Sets the affinity mask for the Scheduler in the specified range.
Espace de noms : Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Syntaxe
'Déclaration
Public Sub SetAffinityToRange ( _
startIndex As Integer, _
endIndex As Integer, _
affinityMask As Boolean _
)
'Utilisation
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
)
Paramètres
- 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.