Condividi tramite


Proprietà SyncRoot

Gets or sets an object that can be used to synchronize access to the collection. Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server.

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

Sintassi

'Dichiarazione
Public Property SyncRoot As Object
    Get
    Set
'Utilizzo
Dim instance As SfcCollection
Dim value As Object

value = instance.SyncRoot

instance.SyncRoot = value
public Object SyncRoot { get; set; }
public:
virtual property Object^ SyncRoot {
    Object^ get () sealed;
    void set (Object^ value) sealed;
}
abstract SyncRoot : Object with get, set
override SyncRoot : Object with get, set
final function get SyncRoot () : Object
final function set SyncRoot (value : Object)

Valore proprietà

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

Implementa

ICollection. . :: . .SyncRoot