Share via


SfcCollection<T, K, ParentT>.SyncRoot Property

Gets or sets an object that can be used to synchronize access to the collection. Do not reference this member directly in your code. It supports the SQL Server infrastructure.

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)

Property Value

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

Implements

ICollection.SyncRoot

See Also

Reference

SfcCollection<T, K, ParentT> Class

Microsoft.SqlServer.Management.Sdk.Sfc Namespace