OPC Studio User's Guide and Reference
DiscoveryUriStrings Property (UAApplicationElement)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.Discovery Namespace > UAApplicationElement Class : DiscoveryUriStrings Property
The URLs that can be used to reach the application, using discovery.
Syntax
'Declaration
 
<ColumnDisplayAttribute(MaximumWidth=20, RefinementRank=1)>
<DisplayAttribute(AutoGenerateField=False, 
   Order=7, 
   ShortName="Discovery URI Strings")>
Public Property DiscoveryUriStrings As StringCollection
'Usage
 
Dim instance As UAApplicationElement
Dim value As StringCollection
 
instance.DiscoveryUriStrings = value
 
value = instance.DiscoveryUriStrings
[ColumnDisplay(MaximumWidth=20, RefinementRank=1)]
[Display(AutoGenerateField=false, 
   Order=7, 
   ShortName="Discovery URI Strings")]
public StringCollection DiscoveryUriStrings {get; set;}
[ColumnDisplay(MaximumWidth=20, RefinementRank=1)]
[Display(AutoGenerateField=false, 
   Order=7, 
   ShortName="Discovery URI Strings")]
public:
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