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



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.Engine Namespace > UASecurityPolicyUriStrings Class : IsObsolete Method
The security policy URI string.

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

Determines whether the given URI denotes a security policy that has been marked obsolete.
Syntax
'Declaration
 
<PureAttribute()>
Public Shared Function IsObsolete( _
   ByVal securityPolicyUriString As String _
) As Boolean
'Usage
 
Dim securityPolicyUriString As String
Dim value As Boolean
 
value = UASecurityPolicyUriStrings.IsObsolete(securityPolicyUriString)
[Pure()]
public static bool IsObsolete( 
   string securityPolicyUriString
)
[Pure()]
public:
static bool IsObsolete( 
   String^ securityPolicyUriString
) 

Parameters

securityPolicyUriString
The security policy URI string.

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

Return Value

Returns true if the security policy given by securityPolicyUriString has been marked obsolete; otherwise, it returns false.
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