次の方法で共有


SetAffinityToRange メソッド (Int32, Int32, NumaNodeAffinity, Boolean)

指定した範囲で Numa ノードに対する affinity mask を設定します。

名前空間:  Microsoft.SqlServer.Management.Smo
アセンブリ:  Microsoft.SqlServer.Smo (Microsoft.SqlServer.Smo.dll)

構文

'宣言
Public Sub SetAffinityToRange ( _
    startNumaNodeId As Integer, _
    endNumaNodeId As Integer, _
    affinityMask As NumaNodeAffinity, _
    ignoreMissingIds As Boolean _
)
'使用
Dim instance As NumaNodeCollection
Dim startNumaNodeId As Integer
Dim endNumaNodeId As Integer
Dim affinityMask As NumaNodeAffinity
Dim ignoreMissingIds As Boolean

instance.SetAffinityToRange(startNumaNodeId, _
    endNumaNodeId, affinityMask, ignoreMissingIds)
public void SetAffinityToRange(
    int startNumaNodeId,
    int endNumaNodeId,
    NumaNodeAffinity affinityMask,
    bool ignoreMissingIds
)
public:
void SetAffinityToRange(
    int startNumaNodeId, 
    int endNumaNodeId, 
    NumaNodeAffinity affinityMask, 
    bool ignoreMissingIds
)
member SetAffinityToRange : 
        startNumaNodeId:int * 
        endNumaNodeId:int * 
        affinityMask:NumaNodeAffinity * 
        ignoreMissingIds:bool -> unit 
public function SetAffinityToRange(
    startNumaNodeId : int, 
    endNumaNodeId : int, 
    affinityMask : NumaNodeAffinity, 
    ignoreMissingIds : boolean
)

パラメーター

  • startNumaNodeId
    型: System. . :: . .Int32
    Numa ノードの範囲の開始を指定する、0 ~ Count -1 の Int32 です。startIndex が有効範囲内でない場合は、Specified argument was out of the range of valid values. Parameter name: startIndex という例外が返されます。
  • endNumaNodeId
    型: System. . :: . .Int32
    範囲の endIndex を指定する Int32。endIndex は、startIndex 以上および [P:Microsoft.SqlServer.Management.Smo.NumaNodeCollection.Count.] 未満である必要があります。
    endIndex が有効範囲内でない場合は、Specified argument was out of the range of valid values. Parameter name: endIndex という例外が返されます。
    endIndex が startIndex 未満である場合は、The specified range of CPUs is not valid. The value for startIndex must be less than the value for endIndex. という例外が返されます。