SysAutoRun.execRun Method [AX 2012]

Lets you run an X++ method or command when Microsoft Dynamics AX is started.

Syntax

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.

Remarks

The execRun method is called if the <Run> tag is used in the configuration file when Microsoft Dynamics AX is started.

Examples

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" />

See Also

Reference

SysAutoRun Class