A value from the WTS_CONNECTSTATE_CLASS enumeration type that indicates the session's current connection state.
publicWTS_CONNECTSTATE_CLASSState
return
WTS_CONNECTSTATE_CLASS
pWinStationName public property
Pointer to a null-terminated string that contains the WinStation name of this session. The WinStation name is a name that Windows associates with the session, for example, "services", "console", or "RDP-Tcp#0".