Compartilhar via


Propriedade SyncRoot

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

Namespace:  Microsoft.SqlServer.Management.Smo.Wmi
Assembly:  Microsoft.SqlServer.SqlWmiManagement (em Microsoft.SqlServer.SqlWmiManagement.dll)

Sintaxe

'Declaração
Public ReadOnly Property SyncRoot As Object
    Get
'Uso
Dim instance As ProtocolPropertyCollection
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

Valor da propriedade

Tipo: System. . :: . .Object
An Object system object value that specifies the object that is used to synchronize access to the collection.

Implementa

ICollection. . :: . .SyncRoot