OPC Studio User's Guide and Reference
ObtainClient Method (UAReactive)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.Reactive Namespace > UAReactive Class : ObtainClient Method
Obtains a client object to be used by this reactive object.
Syntax
'Declaration
 
<NotNullAttribute()>
Protected Function ObtainClient() As IEasyUAClient
'Usage
 
Dim instance As UAReactive
Dim value As IEasyUAClient
 
value = instance.ObtainClient()
[NotNull()]
protected IEasyUAClient ObtainClient()
[NotNull()]
protected:
IEasyUAClient^ ObtainClient(); 

Return Value

Returns the OpcLabs.EasyOpc.UA.EasyUAClientCore according to the current client selector.

This method never returns null (Nothing in Visual Basic).

Exceptions
ExceptionDescription
The component is not licensed for the operation requested.
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