Share via


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

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.

See Also

Reference

RetailMonitoringHelper Class