xInfo::buildNo Method

Retrieves the kernel build number of the current Microsoft Dynamics AX executable.

Syntax

client server public static str buildNo()

Run On

ClientOrServer

Return Value

Type: str
A string that contains the kernel build number.

Examples

The following example uses this method to return the kernel build number as part of a string that contains Microsoft Dynamics AX version information.

static client str axaptaReleaseID() 
{ 
    #define.versionPrefix('v') 
    #define.versionNumber('#') 
    #define.versionPartition('/') 
 
    return    #versionprefix+xInfo::releaseVersion()+ 
              #versionNumber+xInfo::buildNo()+ 
              #versionPartition+ApplicationVersion::buildNo(); 
}

See Also

xInfo Class

xInfo::releaseVersion Method