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



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.Discovery.ComTypes Namespace > _UADiscoveryElement Interface : DiscoveryUriStrings Property
The URLs that can be used to reach the application, using discovery.
Syntax
'Declaration
 
<ElementsNotNullAttribute()>
<NotNullAttribute()>
Property DiscoveryUriStrings As StringCollection
'Usage
 
Dim instance As _UADiscoveryElement
Dim value As StringCollection
 
instance.DiscoveryUriStrings = value
 
value = instance.DiscoveryUriStrings
[ElementsNotNull()]
[NotNull()]
StringCollection DiscoveryUriStrings {get; set;}
[ElementsNotNull()]
[NotNull()]
property StringCollection^ DiscoveryUriStrings {
   StringCollection^ get();
   void set (    StringCollection^ value);
}
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