Share via


NumaNode.ID 속성

Gets the ID of the NUMA node that is represented by this NumaNode object.

네임스페이스:  Microsoft.SqlServer.Management.Smo
어셈블리:  Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)

구문

‘선언
Public ReadOnly Property ID As Integer 
    Get
‘사용 방법
Dim instance As NumaNode 
Dim value As Integer 

value = instance.ID
public int ID { get; }
public:
property int ID {
    int get ();
}
member ID : int
function get ID () : int

속성 값

유형: System.Int32
The ID of this NUMA node. The value is returned as an Int.

주의

The ID property is read-only.

The following example shows how to display [Microsoft.SqlServer.Management.Smo.NumaNode.ID] 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)");
            dbServer.Refresh();
            foreach (NumaNode node in dbServer.AffinityInfo.NumaNodes)
                Console.WriteLine("NUMA node ID is {0}.", node.ID);
        }
    }
}

참고 항목

참조

NumaNode 클래스

Microsoft.SqlServer.Management.Smo 네임스페이스