OPC Studio User's Guide and Reference
DiscoveryHost Property (EasyUAInstanceParameters)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.Engine Namespace > EasyUAInstanceParameters Class : DiscoveryHost Property
The name of the machine that runs the discovery server that will be used for discovery tasks.
Syntax
'Declaration
 
<DefaultValueAttribute("localhost")>
<NotNullAttribute()>
Public Property DiscoveryHost As String
'Usage
 
Dim instance As EasyUAInstanceParameters
Dim value As String
 
instance.DiscoveryHost = value
 
value = instance.DiscoveryHost
[DefaultValue("localhost")]
[NotNull()]
public string DiscoveryHost {get; set;}
[DefaultValue("localhost")]
[NotNull()]
public:
property String^ DiscoveryHost {
   String^ get();
   void set (    String^ value);
}
Remarks

In order to obtain or modify this parameter, access OpcLabs.EasyOpc.UA.EasyUAClientCore.InstanceParameters.

Not directly used on COM platform by any of the OpcLabs.EasyOpc.UA.ComTypes._EasyUAClient methods, because wherever applicable, they always include an argument that specifies this value explicitly.

See also in Knowledge Base: Technical note-OPC UA Discovery in QuickOPC.

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