ServerUtils.IsAccessDeniedException Method
Determines whether an exception is a result of insufficient permissions.
Namespace: Microsoft.PerformancePoint.Scorecards.ServerCommon
Assembly: Microsoft.PerformancePoint.Scorecards.ServerCommon (in Microsoft.PerformancePoint.Scorecards.ServerCommon.dll)
Syntax
'Declaration
Public Shared Function IsAccessDeniedException ( _
ex As Exception _
) As Boolean
'Usage
Dim ex As Exception
Dim returnValue As Boolean
returnValue = ServerUtils.IsAccessDeniedException(ex)
public static bool IsAccessDeniedException(
Exception ex
)
Parameters
ex
Type: System.ExceptionThe exception.
Return Value
Type: System.Boolean
true if the exception is a result of insufficient permissions; otherwise, false.
See Also
Reference
Microsoft.PerformancePoint.Scorecards.ServerCommon Namespace