OPC Studio User's Guide and Reference
UriStringToDisplayName Method (UASecurityPolicyUriStrings)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.Engine Namespace > UASecurityPolicyUriStrings Class : UriStringToDisplayName Method
The URI of the security policy.

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

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

Parameters

securityPolicyUriString
The URI of the security policy.

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

Return Value

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

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

Remarks

This method is pure, i.e. it does not have observable side effects.

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