Compartir a través de


xSession.AOSName Method

Definition

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

public:
 virtual System::String ^ AOSName();
public virtual string AOSName ();
abstract member AOSName : unit -> string
override this.AOSName : unit -> string
Public Overridable Function AOSName () As String

Returns

A string that indicates the name of the AOS.

Remarks

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

Applies to