Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns an object that can be used to synchronize access to the ICollection.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Private ReadOnly Property SyncRoot As Object
Implements ICollection.SyncRoot
Get
'Usage
Dim instance As EventPropertyCollection
Dim value As Object
value = CType(instance, ICollection).SyncRoot
Object ICollection.SyncRoot { get; }
private:
virtual property Object^ SyncRoot {
Object^ get () sealed = ICollection::SyncRoot::get;
}
private abstract SyncRoot : Object
private override SyncRoot : Object
JScript supports the use of explicit interface implementations, but not the declarations of new ones.
Property Value
Type: System.Object
Object that can be used to synchronize or lock access to the ICollection.
Implements
Remarks
Synchronization is effective only if all threads lock this object before accessing the collection.