Condividi tramite


Proprietà SmoCollectionBase.SyncRoot

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

Spazio dei nomi  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
Public ReadOnly Property SyncRoot As Object 
    Get
'Utilizzo
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

Valore proprietà

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

Implementa

ICollection.SyncRoot

Osservazioni

Questo spazio dei nomi, classe o membro è supportato solo nella versione 2.0 di Microsoft .NET Framework.

Esempi

Utilizzo delle raccolte

Vedere anche

Riferimento

SmoCollectionBase Classe

Spazio dei nomi Microsoft.SqlServer.Management.Smo