NumaNodeCollection 类

The NumaNodeCollection object contains information about one NUMA node on an instance of SQL Server.

继承层次结构

System.Object
  Microsoft.SqlServer.Management.Smo.NumaNodeCollection

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
Public NotInheritable Class NumaNodeCollection _
    Implements ICollection, IEnumerable
用法
Dim instance As NumaNodeCollection
public sealed class NumaNodeCollection : ICollection, 
    IEnumerable
public ref class NumaNodeCollection sealed : ICollection, 
    IEnumerable
[<SealedAttribute>]
type NumaNodeCollection =  
    class 
        interface ICollection 
        interface IEnumerable 
    end
public final class NumaNodeCollection implements ICollection, IEnumerable

NumaNodeCollection 类型公开以下成员。

属性

  名称 说明
公共属性 Count Gets the number of NumaNode entries in the collection.
公共属性 IsSynchronized Gets a value that indicates whether the collection is synchronized with the instance of SQL Server.
公共属性 Item Gets a NumaNode object.
公共属性 SyncRoot Gets the synchronization root node for the NumaNodeCollection object.

页首

方法

  名称 说明
公共方法 CopyTo(Array, Int32) Copies the collection of objects to a one-dimensional array beginning at the specified index value.
公共方法 CopyTo(array<NumaNode[], Int32) Copies the contents of the NumaNodeCollection object to an array of NumaNode objects.
公共方法 Equals (从 Object 继承。)
公共方法 GetByID Gets a NumaNode object with the specified Numa node ID from the collection.
公共方法 GetElementAt Gets a NumaNode object from the specified position in the collection.
公共方法 GetEnumerator Gets an IEnumerator interface that can be used to iterate over the NumaNodeCollection object.
公共方法 GetHashCode (从 Object 继承。)
公共方法 GetType (从 Object 继承。)
公共方法 SetAffinityToRange(Int32, Int32, NumaNodeAffinity) Sets the affinity mask for the NUMA nodes in the specified range.
公共方法 SetAffinityToRange(Int32, Int32, NumaNodeAffinity, Boolean) Sets the affinity mask for the Numa nodes in the specified range.
公共方法 ToString (从 Object 继承。)

页首

注释

The methods Count,

IsSynchronized,

SyncRoot and

[M:Microsoft.SqlServer.Management.Smo.CpuCollection.CopyTo(T:System.Array,T:System.Int32)] are inherited from ICollection.

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。

请参阅

参考

Microsoft.SqlServer.Management.Smo 命名空间