xSession.AOSName Method [AX 2012]

Retrieves the name of the Application Object Server (AOS) that is responsible for servicing the session.

public str AOSName()

Run On

Called

Return Value

Type: str
A string that indicates the name of the AOS.

For non–AOS connected clients, this method returns an empty string.

The following example prints the name of the AOS that is running the current session.

xSession xSession; 
 
xSession = new xSession(); 
// Prints the name of server for the current session. 
print xSession.AOSName();

Community Additions

ADD
Show: