Export (0) Print
Expand All

NumaNodeCollection.IsSynchronized Property

Gets a value that indicates whether the collection is synchronized with the instance of SQL Server.

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

public bool IsSynchronized { get; }

Property Value

Type: Boolean
Returns a boolean value. If true, the collection is synchronized with the instance of SQL Server.

Implements

ICollectionIsSynchronized

The following example shows how to determine whether the NumaNodeCollection is synchronized with the instance of SQL Server.

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

namespace samples
{
    class Program
    {
        static void Main(string[] args)
        {
            Server dbServer = new Server("(local)");
            Console.WriteLine("NUMA node collection Microsoft.SqlServer.Smo" +
                "synchronized.\n",
                (dbServer.AffinityInfo.NumaNodes.IsSynchronized) ?
                "is" : "is not ");
        }
    }
}
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft