IsSynchronized Property
Collapse the table of content
Expand the table of content

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: System.Boolean

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

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 ");
        }
    }
}
Return to top
Show:
© 2016 Microsoft