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



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

Return Value

Returns the OpcLabs.EasyOpc.AlarmsAndEvents.EasyAEClientCore 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