Reference
OpcClient.Connect Method
Establishes a connection to the server identified by the ServerAddress and creates/activates a new session to access the OPC UA services provided by the server.
Reference
OpcClient.Connect Method
- Type
- OpcClient
- Namespace
- Opc.UaFx.Client
- Assembly
- Opc.UaFx.Advanced.dll
- Package
- Opc.UaFx.Advanced v2.59.0
- Members
- OpcClient Members
- Also in
- Opc.UaFx.Client
Establishes a connection to the server identified by the ServerAddress and creates/activates a new session to access the OPC UA services provided by the server.
csharp
public void Connect()vbnet
Public Sub Connect()Exceptions
| Exception | Condition |
|---|---|
| Invalid | The ServerAddress is not specified. The value of ServerAddress is a null reference ( |
| LicenseException | The license is expired. |
| Object | The object has been disposed of. |
| OpcException | This type of exception can have the following reasons: - Bad |

