When enabled, replaces the port number in the selected endpoint by the value used for discovery.
Syntax
'Declaration
Public Property EnforceSamePort As Boolean
'Usage
Dim instance As UAEndpointSelectionPolicy
Dim value As Boolean
instance.EnforceSamePort = value
value = instance.EnforceSamePort
public bool EnforceSamePort {get; set;}
public:
property bool EnforceSamePort {
bool get();
void set ( bool value);
}
Property Value
The default value of this property is True
.
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