xSession.AOSName Method

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

Syntax

public str AOSName()

Run On

Called

Return Value

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

Remarks

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

Examples

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();

See Also

xSession Class

xSession.clientComputerName Method