RetailMonitoringHelper::isSqlConnectivityError Method [AX 2012]
Checks whether the specified exception or an inner exception is related to connectivity issues with the database.
Syntax
server public static boolean isSqlConnectivityError(CLRObject _exception)
Run On
Server
Parameters
- _exception
Type: CLRObject Class
The exception to test.
Return Value
Type: boolean
true if the exception or an inner exception is related to connectivity issues with the database folder; otherwise, false.
Remarks
This method goes recursively through the exception chain and checks whether exception is of SqlException type with a particular error code.