PowerTCP SSH and SFTP for .NET
SyncRoot Property




Gets an object that is used to synchronize access to the upper layer protocol in use.
Syntax
'Declaration
 
Public ReadOnly Property SyncRoot As Object
'Usage
 
Dim instance As ComponentBase
Dim value As Object
 
value = instance.SyncRoot
public object SyncRoot {get;}
public: __property Object* get_SyncRoot();
public:
property Object^ SyncRoot {
   Object^ get();
}
Remarks
Upper layer protocols typically send a command and wait for it to complete. Use of this object in a C# "lock" statement can allow your code to wait until any ongoing command has completed.
See Also

Reference

ComponentBase Class
ComponentBase Members


PowerTCP SSH and SFTP for .NET Documentation Version 7.0
© 2023 Dart Communications. All Rights Reserved.
Send comments on this topic