Terminal |
The TerminalServicesHelper type exposes the following members.
Name | Description | |
---|---|---|
WTSCloseServer | Closes an open handle to a Remote Desktop Session Host (RD Session Host) server. WTSCloseServer function | |
WTSDisconnectSession | Disconnects the logged-on user from the specified Remote Desktop Services session without closing the session. If the user subsequently logs on to the same Remote Desktop Session Host (RD Session Host) server, the user is reconnected to the same session. WTSDisconnectSession function | |
WTSEnumerateSessionsEx | Retrieves a list of sessions on a specified Remote Desktop Session Host (RD Session Host) server or Remote Desktop Virtualization Host (RD Virtualization Host) server. WTSEnumerateSessionsEx function | |
WTSFreeMemory | Frees memory allocated by a Remote Desktop Services function. WTSFreeMemory function | |
WTSGetActiveConsoleSessionId | Retrieves the session identifier of the console session. The console session is the session that is currently attached to the physical console. Note that it is not necessary that Remote Desktop Services be running for this function to succeed. WTSFreeMemory function | |
WTSLogoffSession | Logs off a specified Remote Desktop Services session. WTSLogoffSession function | |
WTSOpenServer | Opens a handle to the specified Remote Desktop Session Host (RD Session Host) server. WTSOpenServer function | |
WTSQuerySessionInformation | Retrieves session information for the specified session on the specified Remote Desktop Session Host (RD Session Host) server. It can be used to query session information on local and remote RD Session Host servers. WTSQuerySessionInformation function | |
WTSSendMessage | Displays a message box on the client desktop of a specified Remote Desktop Services session. WTSSendMessage function | |
WTSShutdownSystem | Shuts down (and optionally restarts) the specified Remote Desktop Session Host (RD Session Host) server. WTSShutdownSystem function |