QuickOPC User's Guide and Reference
LogToSystem Property (ComManagement)



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.Runtime.InteropServices Namespace > ComManagement Class : LogToSystem Property
Determines whether events generated by COM management are written to the system log.
Syntax
'Declaration
 
<DefaultValueAttribute(True)>
Public Property LogToSystem As Boolean
'Usage
 
Dim instance As ComManagement
Dim value As Boolean
 
instance.LogToSystem = value
 
value = instance.LogToSystem
[DefaultValue(true)]
public bool LogToSystem {get; set;}
[DefaultValue(true)]
public:
property bool LogToSystem {
   bool get();
   void set (    bool value);
}
Remarks

This method or property does not throw any exceptions, aside from execution exceptions such as System.Threading.ThreadAbortException or System.OutOfMemoryException.

Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also