Share via


RegSvrCollectionBase.SyncRoot Property

Gets an object that can be used to synchronize access to the collection.

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

Syntax

'Declaration
Public ReadOnly Property SyncRoot As Object 
    Get
'Usage
Dim instance As RegSvrCollectionBase 
Dim value As Object 

value = instance.SyncRoot
public Object SyncRoot { get; }
public:
virtual property Object^ SyncRoot {
    Object^ get () sealed;
}
abstract SyncRoot : Object 
override SyncRoot : Object
final function get SyncRoot () : Object

Property Value

Type: System.Object
An Object value that can be used to synchronize access to the collection.

See Also

Reference

RegSvrCollectionBase Class

Microsoft.SqlServer.Management.Smo.RegisteredServers Namespace

Other Resources

NIB Manage Registered Servers