xSession.AOSName Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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();