OPC Studio User's Guide and Reference
DisplayNameToUriString Method (UATransportProfileUriStrings)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.Engine Namespace > UATransportProfileUriStrings Class : DisplayNameToUriString Method
The display name of the security policy.

The value of this parameter cannot be null (Nothing in Visual Basic).

Converts security policy display name to security policy URI.
Syntax
'Declaration
 
<NotNullAttribute()>
Public Shared Function DisplayNameToUriString( _
   ByVal displayName As String _
) As String
'Usage
 
Dim displayName As String
Dim value As String
 
value = UATransportProfileUriStrings.DisplayNameToUriString(displayName)
[NotNull()]
public static string DisplayNameToUriString( 
   string displayName
)
[NotNull()]
public:
static String^ DisplayNameToUriString( 
   String^ displayName
) 

Parameters

displayName
The display name of the security policy.

The value of this parameter cannot be null (Nothing in Visual Basic).

Return Value

Returns the security policy URI that corresponds to the given display name.

This method never returns null (Nothing in Visual Basic).

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