QuickOPC User's Guide and Reference
DiscoveryUriStrings Property (IUAReadOnlyApplicationElement)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.Discovery Namespace > IUAReadOnlyApplicationElement Interface : DiscoveryUriStrings Property
The URLs that can be used to reach the application, using discovery.
Syntax
'Declaration
 
<ElementsNotNullAttribute()>
<NotNullAttribute()>
ReadOnly Property DiscoveryUriStrings As StringCollection
'Usage
 
Dim instance As IUAReadOnlyApplicationElement
Dim value As StringCollection
 
value = instance.DiscoveryUriStrings
[ElementsNotNull()]
[NotNull()]
StringCollection DiscoveryUriStrings {get;}
[ElementsNotNull()]
[NotNull()]
property StringCollection^ DiscoveryUriStrings {
   StringCollection^ get();
}
Remarks

Values from this collection value can be used as OpcLabs.BaseLib.ResourceDescriptor.UrlString.

A generic string is used instead of System.Uri, because in some cases, the value may not represent a real URI.

The value of DiscoveryUriString is derived from this property. If you know that your discovery query returns just one discovery URI for each application element, it is easier to use the DiscoveryUriString property.

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