Share via


SyncRoot Propiedad

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

Espacio de nombres:  Microsoft.SqlServer.Management.Smo
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
Public ReadOnly Property SyncRoot As Object
    Get
'Uso
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

Valor de la propiedad

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

Implementa

ICollection. . :: . .SyncRoot

Comentarios

Este espacio de nombres, clase o miembro solamente se admite en la versión 2.0 de Microsoft .NET Framework.

Ejemplos

Usar colecciones