This documentation is archived and is not being maintained.
SysAutoRun.execRun Method [AX 2012]
Lets you run an X++ method or command when Microsoft Dynamics AX is started.
protected boolean execRun(XmlNode _command)
Run On
Client
Parameters
-
_command
- Type: XmlNode Class
The XML node to get the value from.
Return Value
Type:
boolean
true if the execution is successful; otherwise, false.
The execRun method is called if the <Run> tag is used in the configuration file when Microsoft Dynamics AX is started.
The following example shows a possible use of the <Run> tag in the configuration file.
<Run type="class" name="MyClass" method="run"
parameters="'my text',7" />