Freigeben über


SyncRoot-Eigenschaft

Gets or sets an object that can be used to synchronize access to the collection. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur.

Namespace:  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly:  Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Syntax

'Declaration
Public Property SyncRoot As Object
    Get
    Set
'Usage
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)

Eigenschaftswert

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

Implementiert

ICollection. . :: . .SyncRoot