مشاركة عبر


WmiCollectionBase.SyncRoot Property

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

Namespace:  Microsoft.SqlServer.Management.Smo.Wmi
Assembly:  Microsoft.SqlServer.SqlWmiManagement (in Microsoft.SqlServer.SqlWmiManagement.dll)

Syntax

'Declaration
Public ReadOnly Property SyncRoot As Object 
    Get
'Usage
Dim instance As WmiCollectionBase 
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

Property Value

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

Examples

Managing Services and Network Settings by Using WMI Provider

See Also

Reference

WmiCollectionBase Class

Microsoft.SqlServer.Management.Smo.Wmi Namespace

Other Resources

WMI and SQL Server

Connecting to the SQL Server Database Engine