Partager via


Propriété SyncRoot

Gets or sets an object that can be used to synchronize access to the collection. Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server.

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

Syntaxe

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

Valeur de propriété

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

Implémente

ICollection. . :: . .SyncRoot