Partager via


Propriété PropertyCollection.SyncRoot

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

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
Public ReadOnly Property SyncRoot As Object 
    Get
'Utilisation
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

Valeur de propriété

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

Implémente

ICollection.SyncRoot

Exemples

Utilisation de collections

Voir aussi

Référence

PropertyCollection Classe

Espace de noms Microsoft.SqlServer.Management.Smo

Autres ressources

Utilisation de collections