QuickOPC User's Guide and Reference
AsClient Method (_EasyUAGlobalDiscoveryClient)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.Gds.ComTypes Namespace > _EasyUAGlobalDiscoveryClient Interface : AsClient Method
Returns the client object upon which this specialized client is built.
Syntax
'Declaration
 
<NotNullAttribute()>
Function AsClient() As _EasyUAClient
'Usage
 
Dim instance As _EasyUAGlobalDiscoveryClient
Dim value As _EasyUAClient
 
value = instance.AsClient()
[NotNull()]
_EasyUAClient AsClient()
[NotNull()]
_EasyUAClient^ AsClient(); 

Return Value

The client object upon which this specialized client is built.
Exceptions
ExceptionDescription
An invoked method is not supported at all, or is not supported with the parameters used to create the object.
Remarks

If the specialized client object has been derived from a general-purpose client, this method returns the original general-purpose client object used in derivation. If the specialized client object is standalone, this method returns the internal general-purpose client object used by this specialized client.

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