SysAutoRun.execLicenseInformation Method [AX 2012]

Loads the license file for Microsoft Dynamics AX.

Syntax

protected boolean execLicenseInformation(XmlNode _command)

Run On

Client

Parameters

  • _command
    Type: XmlNode Class
    The XML node to get the value from.

Return Value

Type: boolean
true if execution is successful; otherwise, false.

Remarks

The execLicenseInformation method is called when the <LicenseInformation> tag is used in the configuration file when Microsoft Dynamics AX is started. For more information, see the SysAutoRun class.

Execution of this method is controlled by the SysAutoRun.execCommand method.

The <LicenseInformation> tag has the file attribute, which specifies the name and path of the license file.

Examples

The following example shows a possible use of the <LicenseInformation> tag in the configuration file.

<LicenseInformation file="\\server\share\license.txt" />

See Also

Reference

SysAutoRun Class