OPC Studio User's Guide and Reference
ConnectionState Enumeration



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.Communication Namespace : ConnectionState Enumeration
Indicates a connection state.
Syntax
'Declaration
 
<CLSCompliantAttribute(True)>
<ComVisibleAttribute(True)>
<DisplayName2Attribute("Connection State")>
<GuidAttribute("EE83CD50-87C2-48AF-BA0B-54A5F690C103")>
Public Enum ConnectionState 
   Inherits System.Enum
   Implements System.IComparable, System.IConvertible, System.IFormattable 
'Usage
 
Dim instance As ConnectionState
[CLSCompliant(true)]
[ComVisible(true)]
[DisplayName2("Connection State")]
[Guid("EE83CD50-87C2-48AF-BA0B-54A5F690C103")]
public enum ConnectionState : System.Enum, System.IComparable, System.IConvertible, System.IFormattable  
[CLSCompliant(true)]
[ComVisible(true)]
[DisplayName2("Connection State")]
[Guid("EE83CD50-87C2-48AF-BA0B-54A5F690C103")]
public enum class ConnectionState : public System.Enum, System.IComparable, System.IConvertible, System.IFormattable  
Members
MemberValueDescription
Connected2Connected.
Connecting1Connecting.
Disconnected0Disconnected.
Disconnecting3Disconnecting.
Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         OpcLabs.BaseLib.Communication.ConnectionState

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