QuickOPC User's Guide and Reference
Flat Property (_UANetworkServerDiscoveryQuery)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.Discovery.ComTypes Namespace > _UANetworkServerDiscoveryQuery Interface : Flat Property
Determines whether one element will be returned for each discovery URI.
Syntax
'Declaration
 
Property Flat As Boolean
'Usage
 
Dim instance As _UANetworkServerDiscoveryQuery
Dim value As Boolean
 
instance.Flat = value
 
value = instance.Flat
bool Flat {get; set;}
property bool Flat {
   bool get();
   void set (    bool value);
}
Remarks

When the Flat property is false, the discovery query returns one OpcLabs.EasyOpc.UA.Discovery.UADiscoveryElement for each application found, and its DiscoveryUriStrings property contains one or more application discovery URLs.

When the Flat property is true, the discovery query returns one OpcLabs.EasyOpc.UA.Discovery.UADiscoveryElement for each discovery URL of each application found. In this case, the DiscoveryUriStrings property of each returned application element contains precisely one string, and you can therefore use the DiscoveryUriString property instead to obtain the discovery URL.

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