OPC Studio User's Guide and Reference
UANetworkServerDiscoveryQuery Constructor(String,IEnumerable<String>)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.Discovery Namespace > UANetworkServerDiscoveryQuery Class > UANetworkServerDiscoveryQuery Constructor : UANetworkServerDiscoveryQuery Constructor(String,IEnumerable<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).

List of Server capability filters. Only records with all the specified server capabilities are returned.

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

Initializes a new instance of the class, specifying the discovery host, and server capability filter.
Syntax
'Declaration
 
Public Function New( _
   ByVal discoveryHost As String, _
   ByVal serverCapabilityFilter As IEnumerable(Of String) _
)
'Usage
 
Dim discoveryHost As String
Dim serverCapabilityFilter As IEnumerable(Of String)
 
Dim instance As New UANetworkServerDiscoveryQuery(discoveryHost, serverCapabilityFilter)
public UANetworkServerDiscoveryQuery( 
   string discoveryHost,
   IEnumerable<string> serverCapabilityFilter
)
public:
UANetworkServerDiscoveryQuery( 
   String^ discoveryHost,
   IEnumerable<String^>^ serverCapabilityFilter
)

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).

serverCapabilityFilter
List of Server capability filters. Only records with all the specified server capabilities are returned.

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