www.icetips.com  Icetips Utilities Documentation 5/9/2015    

Windows Class: IsTerminalServer

Previous  Top  Next  


Prototype: (),BYTE

 

ReturnsReturns true if the session is running on Terminal Server, false if it is not.

 

This method uses GetSysMetrics to retrieve the setting of the SM_REMOTESESSION, which detects if the session is remote or not.

Example:

ITW  ITWindowClass

Code

Message('This session is ' & Choose(ITW.IsTerminalServer()=True,'','not') & ' running on Terminal Server')

 

 

See also:

GetSysMetrics



Direct link to this page: http://www.icetips.com/manuals/utilities/isterminalserver_window.htm