Gets or sets a value indicating whether the OpcComboBox is connected to the server specified in the ServerIdentifier property.
[Visual Basic] Public Property ConnectionScheme As ConnectionScheme
[C#] public ConnectionScheme ConnectionScheme {get; set;}
[C++] public: __property ConnectionScheme get_ConnectionScheme(); public: __property void set_ConnectionScheme(ConnectionScheme);
[JScript] public function get ConnectionScheme() : ConnectionScheme; public function set ConnectionScheme(ConnectionScheme);
A ConnectionScheme that represents how and when the OpcComboBox connects to the identified OPC server. The default is RunModeOnly.
| Exception Type | Condition |
|---|---|
| OpcServerConnectException | The client was unable to connect to the specified server. Check inner exceptions for more details on the reason for the inability to connect. |
This value denotes when the OpcComboBox is actually connected to the server. In most cases, you only desire to connect to the OPC server when the component is in the run mode, not during design time. However, if this funtionality is required, set the ConnectionScheme to the appropriate value. Use ManualConnect when you require complete control of when the OPC Server is connected or not.
Platforms: Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows .NET Server family
OpcComboBox Class | OpcComboBox Members | Visavi.Opc.Client.Forms Namespace