Share via


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

Return value

Type: System.Boolean
true if the exception is a result of insufficient permissions; otherwise, false.

See also

Reference

ServerUtils class

ServerUtils members

Microsoft.PerformancePoint.Scorecards.ServerCommon namespace