Dela via


NumaNodeCollection Class

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

Inheritance Hierarchy

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

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

Syntax

'Declaration
Public NotInheritable Class NumaNodeCollection _
    Implements ICollection, IEnumerable
'Usage
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

The NumaNodeCollection type exposes the following members.

Properties

  Name Description
Public property Count Gets the number of NumaNode entries in the collection.
Public property IsSynchronized Gets a value that indicates whether the collection is synchronized with the instance of SQL Server.
Public property Item Gets a NumaNode object.
Public property SyncRoot Gets the synchronization root node for the NumaNodeCollection object.

Top

Methods

  Name Description
Public method CopyTo(Array, Int32) Copies the collection of objects to a one-dimensional array beginning at the specified index value.
Public method CopyTo(array<NumaNode[], Int32) Copies the contents of the NumaNodeCollection object to an array of NumaNode objects.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetByID Gets a NumaNode object with the specified Numa node ID from the collection.
Public method GetElementAt Gets a NumaNode object from the specified position in the collection.
Public method GetEnumerator Gets an IEnumerator interface that can be used to iterate over the NumaNodeCollection object.
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method SetAffinityToRange(Int32, Int32, NumaNodeAffinity) Sets the affinity mask for the NUMA nodes in the specified range.
Public method SetAffinityToRange(Int32, Int32, NumaNodeAffinity, Boolean) Sets the affinity mask for the Numa nodes in the specified range.
Public method ToString (Inherited from Object.)

Top

Remarks

The methods Count,

IsSynchronized,

SyncRoot and

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

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.