Compartir a través de


PropertyCollection.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 PropertyCollection 
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 specifies the object that is used to synchronize access to the collection.

Implementa

ICollection.SyncRoot

Ejemplos

Usar colecciones

Vea también

Referencia

PropertyCollection Clase

Espacio de nombres Microsoft.SqlServer.Management.Smo

Otros recursos

Usar colecciones