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



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

Return Value

Returns the OpcLabs.EasyOpc.DataAccess.EasyDAClientCore 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