OPC Studio User's Guide and Reference
ConnectionState Property (ConnectedConditionChangedEventArgs)



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.Communication Namespace > ConnectedConditionChangedEventArgs Class : ConnectionState Property
Indicates the state of the connection.
Syntax
'Declaration
 
Public Property ConnectionState As ConnectionState
'Usage
 
Dim instance As ConnectedConditionChangedEventArgs
Dim value As ConnectionState
 
instance.ConnectionState = value
 
value = instance.ConnectionState
public ConnectionState ConnectionState {get; set;}
public:
property ConnectionState ConnectionState {
   ConnectionState get();
   void set (    ConnectionState value);
}

Property Value

The default value of this property is Disconnected (ConnectionState.Disconnected).

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