xInfo::componentName Method [AX 2012]

Retrieves the path to the component.

client server public static str componentName()

Run On

ClientOrServer

Return Value

Type: str
A string that contains the path to the executable.

If this method is run on the client, it returns the path to the .exe file for the Microsoft Dynamics AX client. If it is run on the server, it returns the path to the .exe file for the AOS.

Show: