OPC Studio User's Guide and Reference
UALocalApplicationDiscoveryQuery Constructor(String)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.Discovery Namespace > UALocalApplicationDiscoveryQuery Class > UALocalApplicationDiscoveryQuery Constructor : UALocalApplicationDiscoveryQuery Constructor(String)
The name of the machine that runs the discovery server that will be used for performing the discovery.

The value of this parameter cannot be null (Nothing in Visual Basic).

Initializes a new instance of the class, specifying the discovery host.
Syntax
'Declaration
 
Public Function New( _
   ByVal discoveryHost As String _
)
'Usage
 
Dim discoveryHost As String
 
Dim instance As New UALocalApplicationDiscoveryQuery(discoveryHost)
public UALocalApplicationDiscoveryQuery( 
   string discoveryHost
)
public:
UALocalApplicationDiscoveryQuery( 
   String^ discoveryHost
)

Parameters

discoveryHost
The name of the machine that runs the discovery server that will be used for performing the discovery.

The value of this parameter cannot be null (Nothing in Visual Basic).

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