Determines whether the given URI denotes a security policy that has been marked obsolete.
Syntax
[JetBrains.Annotations.MustUseReturnValue()]
[JetBrains.Annotations.Pure()]
public static bool IsObsolete(
string
)
[JetBrains.Annotations.MustUseReturnValue()]
[JetBrains.Annotations.Pure()]
public:
static bool IsObsolete(
String^
)
'Declaration
<JetBrains.Annotations.MustUseReturnValueAttribute()>
<JetBrains.Annotations.PureAttribute()>
Public Shared Function IsObsolete( _
ByVal As String _
) As Boolean
'Usage
Dim securityPolicyUriString As String
Dim value As Boolean
value = UASecurityPolicyUtilities.IsObsolete(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 has been marked obsolete; otherwise, it returns
false
.
This return value of this method should not be ignored.
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