OPC Studio User's Guide and Reference
GatewayServerUri Property (UADiscoveryElement)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.Discovery Namespace > UADiscoveryElement Class : GatewayServerUri Property
The URI of the Gateway Server.
Syntax
'Declaration
 
<CanBeNullAttribute()>
<ColumnDisplayAttribute(1)>
<DisplayAttribute(AutoGenerateField=False, 
   Order=107, 
   ShortName="Gateway Server URI")>
Public Property GatewayServerUri As Uri
'Usage
 
Dim instance As UADiscoveryElement
Dim value As Uri
 
instance.GatewayServerUri = value
 
value = instance.GatewayServerUri
[CanBeNull()]
[ColumnDisplay(1)]
[Display(AutoGenerateField=false, 
   Order=107, 
   ShortName="Gateway Server URI")]
public Uri GatewayServerUri {get; set;}
[CanBeNull()]
[ColumnDisplay(1)]
[Display(AutoGenerateField=false, 
   Order=107, 
   ShortName="Gateway Server URI")]
public:
property Uri^ GatewayServerUri {
   Uri^ get();
   void set (    Uri^ value);
}
Remarks

This property is null if the underlying string does not represent a valid URI.

This method or property does not throw any exceptions, aside from execution exceptions such as System.Threading.ThreadAbortException or System.OutOfMemoryException.

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