Export (0) Print
Expand All

NumaNode.GroupID Property

Gets the GroupID that is assigned to this NUMA node.

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

public int GroupID { get; }

Property Value

Type: Int32
Returns the GroupID that is assigned to this NumaNode object. The return value is of type an Int.

The GroupID property is read-only.

The following example shows how to display [Microsoft.SqlServer.Management.Smo.NumaNode.GroupID] for each NUMA node on the local instance of SQL Server.

using System;
using Microsoft.SqlServer.Management.Smo;

namespace samples
    class Program
        static void Main(string[] args)
            Server dbServer = new Server("(local)");
            foreach (NumaNode node in dbServer.AffinityInfo.NumaNodes)
                   "GroupID for NUMA node {0} is {1}",
                    node.ID, node.GroupID);
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2015 Microsoft