SqlSystem.logfileName Method [AX 2012]

Retrieves the name of the standard Microsoft Dynamics AX SQL error log file.

public str logfileName([boolean fromCommandline])

Run On

Server

Parameters

fromCommandline
Type: boolean
A boolean value. Passing a non-zero value as parameter makes the call return the logfile name passed on the command line; optional.

Return Value

Type: str
The file name of the standard Microsoft Dynamics AX SQL error log file.

In version 2.11 or higher, an empty string is returned (for backward compatibility). Use the filenameSqlError method to retrieve the log file name.

Community Additions

ADD
Show: