OPC Studio User's Guide and Reference
Enabled Property (UAPubSubComponentElement)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.PubSub.Configuration Namespace > UAPubSubComponentElement Class : Enabled Property
The enabled state of the PubSub component.
Syntax
'Declaration
 
<DefaultValueAttribute(False)>
<DisplayAttribute(AutoGenerateField=True, 
   Order=101, 
   ShortName="Enabled")>
Public Property Enabled As Boolean
'Usage
 
Dim instance As UAPubSubComponentElement
Dim value As Boolean
 
instance.Enabled = value
 
value = instance.Enabled
[DefaultValue(false)]
[Display(AutoGenerateField=true, 
   Order=101, 
   ShortName="Enabled")]
public bool Enabled {get; set;}
[DefaultValue(false)]
[Display(AutoGenerateField=true, 
   Order=101, 
   ShortName="Enabled")]
public:
property bool Enabled {
   bool get();
   void set (    bool value);
}
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