Freigeben über


SyncRoot-Eigenschaft

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

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

Syntax

'Declaration
Public ReadOnly Property SyncRoot As Object
    Get
'Usage
Dim instance As SmoCollectionBase
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

Eigenschaftswert

Typ: System. . :: . .Object
An Object system object value that can be used to synchronize access to the collection.

Implementiert

ICollection. . :: . .SyncRoot

Hinweise

Der Namespace, die Klasse oder das Element wird nur in der Version 2.0 von Microsoft .NET Framework unterstützt.