مشاركة عبر


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)

Syntax

'Declaration
Public ReadOnly Property IsSynchronized As Boolean 
    Get
'Usage
Dim instance As NumaNodeCollection 
Dim value As Boolean 

value = instance.IsSynchronized
public bool IsSynchronized { get; }
public:
virtual property bool IsSynchronized {
    bool get () sealed;
}
abstract IsSynchronized : bool 
override IsSynchronized : bool
final function get IsSynchronized () : boolean

Property Value

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

Implements

ICollection.IsSynchronized

Examples

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 ");
        }
    }
}

See Also

Reference

NumaNodeCollection Class

Microsoft.SqlServer.Management.Smo Namespace