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()>
Public Property GatewayServerUri As Uri
'Usage
 
Dim instance As UADiscoveryElement
Dim value As Uri
 
instance.GatewayServerUri = value
 
value = instance.GatewayServerUri
[CanBeNull()]
public Uri GatewayServerUri {get; set;}
[CanBeNull()]
public:
property Uri^ GatewayServerUri {
   Uri^ get();
   void set (    Uri^ value);
}

Property Value

This value of this property can be null (Nothing in Visual Basic).

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